summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_winsys.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-09-28 09:13:50 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2011-09-29 20:24:57 +0200
commite7843273fae516fa9922f12053bb6c063b39921c (patch)
treeb535bde925b4269670dfa7f69f99110247428ea2 /src/gallium/drivers/svga/svga_winsys.h
parente63f2787b6a8dd7ff7a093fea8017a0b74cac6fd (diff)
downloadexternal_mesa3d-e7843273fae516fa9922f12053bb6c063b39921c.zip
external_mesa3d-e7843273fae516fa9922f12053bb6c063b39921c.tar.gz
external_mesa3d-e7843273fae516fa9922f12053bb6c063b39921c.tar.bz2
winsys/svga: Update to vmwgfx kernel module 2.1
Introduces fence objecs and a size limit on query buffers. The possibility to map the fifo from user-space is gone, and replaced by an ioctl that reads the 3D capabilities. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecranz <jakob@vmware.com>
Diffstat (limited to 'src/gallium/drivers/svga/svga_winsys.h')
-rw-r--r--src/gallium/drivers/svga/svga_winsys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_winsys.h b/src/gallium/drivers/svga/svga_winsys.h
index ae61cea..d9560ef 100644
--- a/src/gallium/drivers/svga/svga_winsys.h
+++ b/src/gallium/drivers/svga/svga_winsys.h
@@ -61,7 +61,8 @@ struct winsys_handle;
#define SVGA_RELOC_WRITE 0x1
#define SVGA_RELOC_READ 0x2
-
+#define SVGA_FENCE_FLAG_EXEC (1 << 0)
+#define SVGA_FENCE_FLAG_QUERY (1 << 1)
/** Opaque surface handle */
struct svga_winsys_surface;