summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/r600/drm/r600d.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-08-17 15:16:53 +1000
committerDave Airlie <[email protected]>2010-08-17 16:07:48 +1000
commit6043ee6e62800f4f7d2c62756b4c91cbf2639061 (patch)
treec323569223fffe00fb37fdcf8eb48e6970a5b57a /src/gallium/winsys/r600/drm/r600d.h
parent279aeebff5d5dcdad89f513f5727fc545ec96039 (diff)
r600g: kill event type magic number in winsys
these events have names, use them.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600d.h')
-rw-r--r--src/gallium/winsys/r600/drm/r600d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600d.h b/src/gallium/winsys/r600/drm/r600d.h
index 5d13378627e..235b2b3d976 100644
--- a/src/gallium/winsys/r600/drm/r600d.h
+++ b/src/gallium/winsys/r600/drm/r600d.h
@@ -82,6 +82,8 @@
#define PKT3_SET_CTL_CONST 0x6F
#define PKT3_SURFACE_BASE_UPDATE 0x73
+#define EVENT_TYPE_CACHE_FLUSH_AND_INV_EVENT 0x16
+
#define PKT_TYPE_S(x) (((x) & 0x3) << 30)
#define PKT_TYPE_G(x) (((x) >> 30) & 0x3)
#define PKT_TYPE_C 0x3FFFFFFF