freedreno/a5xx: Define the 2D blit UBWC pitch fields
authorEric Anholt <eric@anholt.net>
Tue, 19 May 2020 23:26:37 +0000 (16:26 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 May 2020 00:09:42 +0000 (17:09 -0700)
Syncing up with my changes to envytools for decoding texturator output.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5127>

src/freedreno/registers/a5xx.xml

index dc809cfb71631e8597e4a1e347e7b1c9176fbc41..c5fdb662b8bc5a943c61778e89b058e26d5d3d46 100644 (file)
@@ -2773,8 +2773,10 @@ bit 7 for RECTLIST (clear) when z32s8 (used for clear of depth32?  not set
        </reg32>
        <reg32 offset="0x2140" name="RB_2D_SRC_FLAGS_LO"/>
        <reg32 offset="0x2141" name="RB_2D_SRC_FLAGS_HI"/>
+        <reg32 offset="0x2142" name="RB_2D_SRC_FLAGS_PITCH" shr="6" type="uint"/>
        <reg32 offset="0x2143" name="RB_2D_DST_FLAGS_LO"/>
        <reg32 offset="0x2144" name="RB_2D_DST_FLAGS_HI"/>
+        <reg32 offset="0x2145" name="RB_2D_DST_FLAGS_PITCH" shr="6" type="uint"/>
        <reg32 offset="0x2180" name="GRAS_2D_BLIT_CNTL"/> <!-- same as 0x2100 -->
        <!-- looks same as 0x2107: -->
        <reg32 offset="0x2181" name="GRAS_2D_SRC_INFO">