projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ee2ff
)
drm: the sg alloc ioctl should write back the handle to userspace
author
Dave Airlie
<airlied@redhat.com>
Fri, 13 Jun 2008 05:06:31 +0000
(15:06 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 13 Jun 2008 05:06:31 +0000
(15:06 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/drm/drm.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/drm.h
b/drivers/char/drm/drm.h
index 3a05c6d5ebe1f9306bca6a3e11740d54b9e6e5ef..38d3c6b8276aec19755d1037378ba34f7e7ab80a 100644
(file)
--- a/
drivers/char/drm/drm.h
+++ b/
drivers/char/drm/drm.h
@@
-628,7
+628,7
@@
struct drm_set_version {
#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_IOW
R(
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)