[Mesa-dev] [PATCH v2 06/12] radeonsi: Add CE packet definitions.

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Sat Apr 16 23:43:03 UTC 2016


Signed-off-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
 src/gallium/drivers/radeonsi/sid.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h
index f0aa605..1072e0a 100644
--- a/src/gallium/drivers/radeonsi/sid.h
+++ b/src/gallium/drivers/radeonsi/sid.h
@@ -145,6 +145,12 @@
 #define PKT3_SET_SH_REG                        0x76
 #define PKT3_SET_SH_REG_OFFSET                 0x77
 #define PKT3_SET_UCONFIG_REG                   0x79 /* new for CIK */
+#define PKT3_LOAD_CONST_RAM                    0x80
+#define PKT3_WRITE_CONST_RAM                   0x81
+#define PKT3_DUMP_CONST_RAM                    0x83
+#define PKT3_INCREMENT_CE_COUNTER              0x84
+#define PKT3_INCREMENT_DE_COUNTER              0x85
+#define PKT3_WAIT_ON_CE_COUNTER                0x86
 
 #define PKT_TYPE_S(x)                   (((x) & 0x3) << 30)
 #define PKT_TYPE_G(x)                   (((x) >> 30) & 0x3)
-- 
2.8.0



More information about the mesa-dev mailing list