summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorAlejandro Piñeiro <[email protected]>2020-04-19 00:12:03 +0200
committerAlejandro Piñeiro <[email protected]>2020-04-22 23:39:41 +0200
commit41bfd0812b4aef70a6acd6c4d389c722f45e29c5 (patch)
tree1bd42bdf829947ae9d8da9034161d424dfd1ed95 /src/broadcom
parent9967c26ae6c5afffd238a8c33b4e97457283a9ca (diff)
v3d/packet: fixing TMU_Config_Parameter_2 definition
v41 interchanged the size and start values for the Padding, and it seems that v42 inherited it when adding the LOD Query bit. Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4677>
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/cle/v3d_packet_v33.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/broadcom/cle/v3d_packet_v33.xml b/src/broadcom/cle/v3d_packet_v33.xml
index b26966bcfe5..a5bac1091d3 100644
--- a/src/broadcom/cle/v3d_packet_v33.xml
+++ b/src/broadcom/cle/v3d_packet_v33.xml
@@ -1531,7 +1531,7 @@
</struct>
<struct name="TMU Config Parameter 2" min_ver="41" max_ver="41">
- <field name="Pad" size="24" start="8" type="uint"/>
+ <field name="Pad" size="8" start="24" type="uint"/>
<field name="Op" size="4" start="20" type="TMU Op"/>
<field name="Offset R" size="4" start="16" type="int"/>
<field name="Offset T" size="4" start="12" type="int"/>
@@ -1545,8 +1545,8 @@
</struct>
<struct name="TMU Config Parameter 2" min_ver="42">
- <field name="Pad" size="23" start="9" type="uint"/>
- <field name="LOD Query" size="1" start="8" type="bool"/>
+ <field name="Pad" size="7" start="25" type="uint"/>
+ <field name="LOD Query" size="1" start="24" type="bool"/>
<field name="Op" size="4" start="20" type="TMU Op"/>
<field name="Offset R" size="4" start="16" type="int"/>
<field name="Offset T" size="4" start="12" type="int"/>