summaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-06-03 12:42:49 +1000
committerDave Airlie <airlied@redhat.com>2008-06-03 12:44:06 +1000
commitd5ae19ebcf2dc6402872e0575b5786b6e8117b6f (patch)
treec5e7ebac576862797fb9e67048f7f34bdce83bae /shared-core/drm.h
parentf1e12d40af6ce9b6159c28529bcbdc877c565c82 (diff)
drm: sg alloc should write back the handle to userspace
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 52b01cd1..7f1ccd1d 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -1020,7 +1020,7 @@ struct drm_mm_info_arg {
#define DRM_IOCTL_AGP_BIND DRM_IOW( 0x36, struct drm_agp_binding)
#define DRM_IOCTL_AGP_UNBIND DRM_IOW( 0x37, struct drm_agp_binding)
-#define DRM_IOCTL_SG_ALLOC DRM_IOW( 0x38, struct drm_scatter_gather)
+#define DRM_IOCTL_SG_ALLOC DRM_IOWR(0x38, struct drm_scatter_gather)
#define DRM_IOCTL_SG_FREE DRM_IOW( 0x39, struct drm_scatter_gather)
#define DRM_IOCTL_WAIT_VBLANK DRM_IOWR(0x3a, union drm_wait_vblank)