summaryrefslogtreecommitdiff
path: root/sys/dev/drm
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-05-17 06:29:36 +0000
committerEric Anholt <anholt@FreeBSD.org>2006-05-17 06:29:36 +0000
commitad33688fcad7a7861b38e5c174a3280b6f75ae42 (patch)
treea6f059f431b741ac169ae57591eb1a77313fa639 /sys/dev/drm
parentef39743bc3b37d74df3e85d12d0667103c43b267 (diff)
Notes
Diffstat (limited to 'sys/dev/drm')
-rw-r--r--sys/dev/drm/drm_scatter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/drm/drm_scatter.c b/sys/dev/drm/drm_scatter.c
index 98e02f65f81a..85b8936f2129 100644
--- a/sys/dev/drm/drm_scatter.c
+++ b/sys/dev/drm/drm_scatter.c
@@ -88,6 +88,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,