Mesa (main): panfrost: Fix XML for AFBC header on v9

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 1 20:07:14 UTC 2022


Module: Mesa
Branch: main
Commit: 2cc2f217d4e686538ba52f9a9062af5efaa13b49
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cc2f217d4e686538ba52f9a9062af5efaa13b49

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Wed Jun  1 14:34:08 2022 -0400

panfrost: Fix XML for AFBC header on v9

Misnamed field due to copy/paste fail from Bifrost.

Fixes: c011ea6c265 ("panfrost: Shuffle render target AFBC for Valhall")
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16800>

---

 src/panfrost/lib/genxml/v9.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/lib/genxml/v9.xml b/src/panfrost/lib/genxml/v9.xml
index a37e2d6ef3d..43d461077d6 100644
--- a/src/panfrost/lib/genxml/v9.xml
+++ b/src/panfrost/lib/genxml/v9.xml
@@ -1126,7 +1126,7 @@
     <field name="Alpha hint" size="1" start="2:5" type="bool"/>
     <field name="Compression mode" size="6" start="2:10" type="AFBC Compression Mode"/>
 
-    <field name="Body" size="64" start="8:0" type="address"/>
+    <field name="Header" size="64" start="8:0" type="address"/>
     <field name="Row stride" size="32" start="10:0" type="uint"/>
     <field name="Body offset" size="32" start="11:0" type="uint"/>
   </struct>



More information about the mesa-commit mailing list