summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/sid.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2016-03-10 20:59:16 +0100
committerBas Nieuwenhuizen <[email protected]>2016-04-19 18:10:30 +0200
commitfe1ef23b6698a55613bc7c4d46bd68aeff080d43 (patch)
tree3ec586c2235656cd16a641cd1e52eb6ce2b44d6d /src/gallium/drivers/radeonsi/sid.h
parent8fee75d606e83b1f0d665fef9ea59ba24fc6682d (diff)
radeonsi: Add CE packet definitions.
Signed-off-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/sid.h')
-rw-r--r--src/gallium/drivers/radeonsi/sid.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/sid.h b/src/gallium/drivers/radeonsi/sid.h
index 11d6090317c..516e114a6c0 100644
--- a/src/gallium/drivers/radeonsi/sid.h
+++ b/src/gallium/drivers/radeonsi/sid.h
@@ -146,6 +146,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)