Mesa (main): freedreno: Document a650-specific CP_REG_WRITE flag

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 28 17:53:36 UTC 2022


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

Author: Connor Abbott <cwabbott0 at gmail.com>
Date:   Fri Nov 13 19:15:54 2020 +0100

freedreno: Document a650-specific CP_REG_WRITE flag

v2: Danylo: clarified previously unknown GRAS_LRZ_CNTL field.

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

---

 src/freedreno/registers/adreno/adreno_pm4.xml | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/src/freedreno/registers/adreno/adreno_pm4.xml b/src/freedreno/registers/adreno/adreno_pm4.xml
index 153d01e3afc..df274115943 100644
--- a/src/freedreno/registers/adreno/adreno_pm4.xml
+++ b/src/freedreno/registers/adreno/adreno_pm4.xml
@@ -1775,9 +1775,22 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
 			register(s) like the others.
 		</doc>
 		<value name="UNK_EVENT_WRITE" value="0x4"/>
+		<doc>
+			Tracks GRAS_LRZ_CNTL::GREATER, GRAS_LRZ_CNTL::DIR, and
+			GRAS_UNKNOWN_810A with previous values, and if one of
+			the following is true:
+			- GRAS_LRZ_CNTL::GREATER has changed
+			- GRAS_LRZ_CNTL::DIR has changed, the old value is not
+			  CUR_DIR_GE, and the new value is not CUR_DIR_DISABLED
+			- GRAS_UNKNOWN_810A has changed
+			then it does a LRZ_FLUSH with GRAS_LRZ_CNTL::ENABLE
+			forced to 1.
+			Only exists in a650_sqe.fw.
+		</doc>
+		<value name="TRACK_LRZ" value="0x8"/>
 	</enum>
 	<reg32 offset="0" name="0">
-		<bitfield name="TRACKER" low="0" high="2" type="reg_tracker"/>
+		<bitfield name="TRACKER" low="0" high="3" type="reg_tracker"/>
 	</reg32>
 </domain>
 



More information about the mesa-commit mailing list