Module Name:    xsrc
Committed By:   rafal
Date:           Sat Apr  4 02:05:08 UTC 2009

Modified Files:
        xsrc/external/mit/libdrm/dist/shared-core: drm.h

Log Message:
Fix type of DRM_IOCTL_SG_ALLOC ioctl -- it should be input/output instead of
just input.  Noticed while debugging some scatter/gather fixes from FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/libdrm/dist/shared-core/drm.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/libdrm/dist/shared-core/drm.h
diff -u xsrc/external/mit/libdrm/dist/shared-core/drm.h:1.2 xsrc/external/mit/libdrm/dist/shared-core/drm.h:1.3
--- xsrc/external/mit/libdrm/dist/shared-core/drm.h:1.2	Thu Jul 31 01:30:22 2008
+++ xsrc/external/mit/libdrm/dist/shared-core/drm.h	Sat Apr  4 02:05:08 2009
@@ -909,7 +909,7 @@
 #define DRM_IOCTL_AGP_BIND		DRM_IOW( 0x36, drm_agp_binding_t)
 #define DRM_IOCTL_AGP_UNBIND		DRM_IOW( 0x37, drm_agp_binding_t)
 
-#define DRM_IOCTL_SG_ALLOC		DRM_IOW( 0x38, drm_scatter_gather_t)
+#define DRM_IOCTL_SG_ALLOC		DRM_IOWR(0x38, drm_scatter_gather_t)
 #define DRM_IOCTL_SG_FREE		DRM_IOW( 0x39, drm_scatter_gather_t)
 
 #define DRM_IOCTL_WAIT_VBLANK		DRM_IOWR(0x3a, drm_wait_vblank_t)

Reply via email to