Mesa (main): panfrost: Shuffle render target AFBC for Valhall
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Feb 16 22:24:22 UTC 2022
Module: Mesa
Branch: main
Commit: c011ea6c265d6e907652e4e4105bf3bd8fc7c03a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c011ea6c265d6e907652e4e4105bf3bd8fc7c03a
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Feb 2 19:24:33 2022 -0500
panfrost: Shuffle render target AFBC for Valhall
I'm not sure why this is different, although it adds support for new AFBC
modifiers.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15047>
---
src/panfrost/lib/genxml/v9.xml | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/src/panfrost/lib/genxml/v9.xml b/src/panfrost/lib/genxml/v9.xml
index 0f179c7d3c9..0a8311aaab9 100644
--- a/src/panfrost/lib/genxml/v9.xml
+++ b/src/panfrost/lib/genxml/v9.xml
@@ -1069,19 +1069,17 @@
</struct>
<struct name="Render Target AFBC Overlay" size="16">
- <field name="Header" size="64" start="4:0" type="address"/>
- <field name="Row Stride" size="13" start="6:0" type="uint"/>
- <field name="Chunk Size" size="12" start="7:0" type="uint"/>
- <field name="AFBC Split Block Enable" size="1" start="7:18" type="bool"/>
- <field name="AFBC Wide Block Enable" size="1" start="7:19" type="bool"/>
-
- <!-- Flag in v7 to effectively disable AFBC as a race condition workaround
- when in-place rendering is used with the AFBC block size differing
- from the effective tile size (XXX: does v6 need a different workaround?) -->
- <field name="Reverse Issue Order" size="1" start="7:20" type="bool"/>
- <field name="YUV Transform Enable" size="1" start="7:17" type="bool"/>
+ <field name="YUV Transform" size="1" start="2:0" type="bool"/>
+ <field name="Split block" size="1" start="2:1" type="bool"/>
+ <field name="Wide block" size="1" start="2:2" type="bool"/>
+ <field name="Reverse issue order" size="1" start="2:3" type="bool"/>
+ <field name="Front buffer" size="1" start="2:4" type="bool"/>
+ <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="Body Size" size="32" start="10:0" type="uint"/>
+ <field name="Row stride" size="32" start="10:0" type="uint"/>
+ <field name="Body offset" size="32" start="11:0" type="uint"/>
</struct>
<struct name="RT Clear">
More information about the mesa-commit
mailing list