Mesa (mesa_7_7_branch): vmware/xorg: Use Write instead of WriteRead for cursor bypass

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Mon Dec 7 17:55:40 UTC 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 1ef8c493b25cdb4bb006f9198c00acacd19e2c75
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ef8c493b25cdb4bb006f9198c00acacd19e2c75

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Fri Dec  4 10:31:51 2009 +0100

vmware/xorg: Use Write instead of WriteRead for cursor bypass

---

 src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
index 7ec651d..ad69938 100644
--- a/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
+++ b/src/gallium/winsys/drm/vmware/xorg/vmw_ioctl.c
@@ -65,8 +65,8 @@ vmw_ioctl_cursor_bypass(struct vmw_driver *vmw, int xhot, int yhot)
     arg.xhot = xhot;
     arg.yhot = yhot;
 
-    ret = drmCommandWriteRead(vmw->fd, DRM_VMW_CURSOR_BYPASS,
-			      &arg, sizeof(arg));
+    ret = drmCommandWrite(vmw->fd, DRM_VMW_CURSOR_BYPASS,
+			  &arg, sizeof(arg));
 
     return ret;
 }




More information about the mesa-commit mailing list