Mesa (mesa_7_7_branch): vmware: Update vmwgfx_drm.h to kernel version.
Thomas Hellstrom
thomash at kemper.freedesktop.org
Tue Feb 9 20:55:09 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: 3470d821baf5ffb9ab2e01edba5efe71e23088f1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3470d821baf5ffb9ab2e01edba5efe71e23088f1
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Tue Feb 9 22:54:15 2010 +0100
vmware: Update vmwgfx_drm.h to kernel version.
Signed-off-by: Thomas Hellstrom <thellstrom at vmware.com>
---
src/gallium/winsys/drm/vmware/core/vmwgfx_drm.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/gallium/winsys/drm/vmware/core/vmwgfx_drm.h b/src/gallium/winsys/drm/vmware/core/vmwgfx_drm.h
index 1457966..47914bd 100644
--- a/src/gallium/winsys/drm/vmware/core/vmwgfx_drm.h
+++ b/src/gallium/winsys/drm/vmware/core/vmwgfx_drm.h
@@ -260,15 +260,23 @@ union drm_vmw_surface_reference_arg {
* to the nearest kernel tick.
* @fence_rep: User-space address of a struct drm_vmw_fence_rep cast to an
* uint64_t.
+ * @version: Allows expanding the execbuf ioctl parameters without breaking
+ * backwards compatibility, since user-space will always tell the kernel
+ * which version it uses.
+ * @flags: Execbuf flags. None currently.
*
* Argument to the DRM_VMW_EXECBUF Ioctl.
*/
+#define DRM_VMW_EXECBUF_VERSION 0
+
struct drm_vmw_execbuf_arg {
uint64_t commands;
uint32_t command_size;
uint32_t throttle_us;
uint64_t fence_rep;
+ uint32_t version;
+ uint32_t flags;
};
/**
More information about the mesa-commit
mailing list