Mesa (main): freedreno/registers: Small cleanup
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jul 3 23:44:47 UTC 2022
Module: Mesa
Branch: main
Commit: 9e1bf8e7acd382c68c145e549738e88a46c1e38c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9e1bf8e7acd382c68c145e549738e88a46c1e38c
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Jun 30 09:05:18 2022 -0700
freedreno/registers: Small cleanup
Whitespace fix plus move a couple regs that ended split apart from the
rest of the VFD regs.
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17317>
---
src/freedreno/registers/adreno/a6xx.xml | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/freedreno/registers/adreno/a6xx.xml b/src/freedreno/registers/adreno/a6xx.xml
index b1b1d926d9b..40dfdbfd4a3 100644
--- a/src/freedreno/registers/adreno/a6xx.xml
+++ b/src/freedreno/registers/adreno/a6xx.xml
@@ -2778,12 +2778,12 @@ to upconvert to 32b float internally?
<reg32 offset="0xa002" name="VFD_CONTROL_2">
<bitfield name="REGID_HSRELPATCHID" low="0" high="7" type="a3xx_regid">
<doc>
- This is the ID of the current patch within the
- subdraw, used to calculate the offset of the
- patch within the HS->DS buffers. When a draw is
- split into multiple subdraws then this differs
- from gl_PrimitiveID on the second, third, etc.
- subdraws.
+ This is the ID of the current patch within the
+ subdraw, used to calculate the offset of the
+ patch within the HS->DS buffers. When a draw is
+ split into multiple subdraws then this differs
+ from gl_PrimitiveID on the second, third, etc.
+ subdraws.
</doc>
</bitfield>
<bitfield name="REGID_INVOCATIONID" low="8" high="15" type="a3xx_regid"/>
@@ -2851,6 +2851,9 @@ to upconvert to 32b float internally?
<reg32 offset="0xa0f8" name="VFD_POWER_CNTL" low="0" high="2"/>
+ <reg32 offset="0xa601" name="VFD_ADDR_MODE_CNTL" type="a5xx_address_mode"/>
+ <array offset="0xa610" name="VFD_PERFCTR_VFD_SEL" stride="1" length="8"/>
+
<!--
Note: this seems to always be paired with another bit in another
block.
@@ -2859,8 +2862,6 @@ to upconvert to 32b float internally?
<value value="0" name="THREAD64"/>
<value value="1" name="THREAD128"/>
</enum>
- <reg32 offset="0xa601" name="VFD_ADDR_MODE_CNTL" type="a5xx_address_mode"/>
- <array offset="0xa610" name="VFD_PERFCTR_VFD_SEL" stride="1" length="8"/>
<bitset name="a6xx_sp_xs_ctrl_reg0" inline="yes">
<!-- if set to SINGLE, only use 1 concurrent wave on each SP -->
More information about the mesa-commit
mailing list