diff options
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_scatter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/drm_scatter.c b/bsd-core/drm_scatter.c index c26a3802..9dc280a4 100644 --- a/bsd-core/drm_scatter.c +++ b/bsd-core/drm_scatter.c @@ -85,6 +85,7 @@ int drm_sg_alloc(DRM_IOCTL_ARGS) DRM_DEBUG( "sg alloc handle = %08lx\n", entry->handle ); + entry->virtual = (void *)entry->handle; request.handle = entry->handle; DRM_COPY_TO_USER_IOCTL( (drm_scatter_gather_t *)data, |