summaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-09-18 13:08:55 -0700
committerKristian H. Kristensen <[email protected]>2019-09-18 16:59:10 -0700
commita2031a117c6cab669b8a86abde0a34bdea39aa7e (patch)
tree748f3a7ce41d09d21f83526a775baa7c5d7cd379 /src/freedreno
parent2251a4345b1d9ebbf1defe533e16a2633d5127ef (diff)
freedreno/regs: Fix CP_DRAW_INDX_OFFSET command
On A5xx+ the INDX_BASE pointer is 64 bit. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/registers/adreno_pm4.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml
index efadcd9a3fa..aba316c9c3f 100644
--- a/src/freedreno/registers/adreno_pm4.xml
+++ b/src/freedreno/registers/adreno_pm4.xml
@@ -651,9 +651,23 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
</reg32>
<reg32 offset="3" name="3">
</reg32>
+
+ <stripe variants="A5XX-">
+ <reg32 offset="4" name="4">
+ <bitfield name="INDX_BASE_LO" low="0" high="31"/>
+ </reg32>
+ <reg32 offset="5" name="5">
+ <bitfield name="INDX_BASE_HI" low="0" high="31"/>
+ </reg32>
+ <reg32 offset="6" name="6">
+ <bitfield name="INDX_SIZE" low="0" high="31"/>
+ </reg32>
+ </stripe>
+
<reg32 offset="4" name="4">
<bitfield name="INDX_BASE" low="0" high="31"/>
</reg32>
+
<reg32 offset="5" name="5">
<bitfield name="INDX_SIZE" low="0" high="31"/>
</reg32>