From: Connor Abbott Date: Fri, 19 Jun 2020 11:15:42 +0000 (+0200) Subject: freedreno: Sync registers with envytools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ff66942d2660a6a79b1f167908b4d0a380bf56f;p=mesa.git freedreno: Sync registers with envytools Part-of: --- diff --git a/src/freedreno/registers/a5xx.xml b/src/freedreno/registers/a5xx.xml index d80691d61d5..0f3795a51f5 100644 --- a/src/freedreno/registers/a5xx.xml +++ b/src/freedreno/registers/a5xx.xml @@ -2927,13 +2927,13 @@ different border-color states per texture.. Looks something like: higher (smaller) mipmap levels --> + - diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index 06e51d7c439..8a541b7cfd9 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -928,7 +928,7 @@ to upconvert to 32b float internally? - + @@ -1096,7 +1096,7 @@ to upconvert to 32b float internally? - + @@ -1428,8 +1428,11 @@ to upconvert to 32b float internally? + + + - + @@ -1771,6 +1774,31 @@ to upconvert to 32b float internally? + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2697,6 +2725,20 @@ to upconvert to 32b float internally? + + + + + + + + + + + + + + @@ -2786,6 +2828,11 @@ to upconvert to 32b float internally? + + + + + @@ -3301,6 +3348,10 @@ to upconvert to 32b float internally? + + + + @@ -3372,11 +3423,29 @@ to upconvert to 32b float internally? + + + + + + + + + + + + + + + + + + @@ -3390,6 +3459,11 @@ to upconvert to 32b float internally? + + + + + @@ -3397,6 +3471,30 @@ to upconvert to 32b float internally? + + + + + + + + + + + + + diff --git a/src/freedreno/registers/adreno_pm4.xml b/src/freedreno/registers/adreno_pm4.xml index a20d547ed65..ad6b221f182 100644 --- a/src/freedreno/registers/adreno_pm4.xml +++ b/src/freedreno/registers/adreno_pm4.xml @@ -45,6 +45,10 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> + + + + @@ -344,7 +348,7 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> for a5xx - + Tells CP the current mode of GPU operation @@ -734,11 +738,11 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) - + - + @@ -950,7 +954,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) - + @@ -971,7 +975,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) registers. - + @@ -996,7 +1000,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) offsetted using a DWORD in memory. - + @@ -1018,7 +1022,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) - + @@ -1511,7 +1515,7 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) - + @@ -1663,5 +1667,27 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords) + + + Note that the SMMU's definition of TTBRn can take different forms + depending on the pgtable format. But a5xx+ only uses aarch64 + format. + + + + + + + + + + Unused, does not apply to aarch64 pgtable format + + + + + + +