summaryrefslogtreecommitdiffstats
path: root/src/amd/common/sid.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-07-16 15:21:56 +1000
committerDave Airlie <[email protected]>2019-07-18 10:24:26 +1000
commit82a2f1052946ec977a7b1fa5f08ff01e6334cff4 (patch)
tree0a94dbe81169be77cd644b5db2383cccc52beac9 /src/amd/common/sid.h
parentde524b2c37870d52a5bd31c72ff320f9bf7166f6 (diff)
radv/gfx10: set the pgm rsrc3/4 regs using index sh reg set
This is ported from AMDVLK, it's probably not requires unless we want to use "real time queues", but it might be nice to just have in place. Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/sid.h')
-rw-r--r--src/amd/common/sid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/sid.h b/src/amd/common/sid.h
index d464b6a110e..0b996e54884 100644
--- a/src/amd/common/sid.h
+++ b/src/amd/common/sid.h
@@ -196,6 +196,7 @@
#define PKT3_INCREMENT_CE_COUNTER 0x84
#define PKT3_INCREMENT_DE_COUNTER 0x85
#define PKT3_WAIT_ON_CE_COUNTER 0x86
+#define PKT3_SET_SH_REG_INDEX 0x9B
#define PKT3_LOAD_CONTEXT_REG 0x9F /* new for VI */
#define PKT_TYPE_S(x) (((unsigned)(x) & 0x3) << 30)