X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Ffreedreno%2Fregisters%2Fa6xx.xml;h=5d6ddcf1785099e62534f1172b7130223526cef3;hb=9daeb504543ccf3851ed058a860ada7d84de6f22;hp=7f464f1a480f2c36757ce7a439ceabd084cbcee6;hpb=3d16ec4a717266bb702b718ec05e083b83eb5490;p=mesa.git diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index 7f464f1a480..5d6ddcf1785 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -6,57 +6,6 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -64,173 +13,135 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -967,7 +878,7 @@ to upconvert to 32b float internally? - + @@ -1011,14 +922,47 @@ to upconvert to 32b float internally? + + + - - + + + + b0..7 seems to contain the size of buffered by not yet processed + RB level cmdstream.. it's possible that it is a low threshold + and b8..15 is a high threshold? + + b16..23 identifies where IB1 data starts (and RB data ends?) + + b24..31 identifies where IB2 data starts (and IB1 data ends) + + + + + + + + + low bits identify where CP_SET_DRAW_STATE stateobj + processing starts (and IB2 data ends). I'm guessing + b8 is part of this since (from downstream kgsl): + + /* ROQ sizes are twice as big on a640/a680 than on a630 */ + if (adreno_is_a640(adreno_dev) || adreno_is_a680(adreno_dev)) { + kgsl_regwrite(device, A6XX_CP_ROQ_THRESHOLDS_2, 0x02000140); + kgsl_regwrite(device, A6XX_CP_ROQ_THRESHOLDS_1, 0x8040362C); + } ... + + + + + @@ -1075,6 +1019,26 @@ to upconvert to 32b float internally? + + + + + + + + + + + number of remaining dwords incl current dword being consumed? + + + + number of remaining dwords incl current dword being consumed? + + @@ -1108,7 +1072,9 @@ to upconvert to 32b float internally? - + + + @@ -1777,6 +1743,7 @@ to upconvert to 32b float internally? + @@ -1817,10 +1784,12 @@ to upconvert to 32b float internally? --> + + @@ -1854,8 +1823,22 @@ to upconvert to 32b float internally? - + + + + + + + + + + + + + + @@ -1865,10 +1848,8 @@ to upconvert to 32b float internally? - - - - + + @@ -1900,6 +1881,10 @@ to upconvert to 32b float internally? + + + + @@ -1936,6 +1921,8 @@ to upconvert to 32b float internally? + + @@ -1946,12 +1933,25 @@ to upconvert to 32b float internally? - - - - - - + + + + + + + + + + + + + + + + + + + @@ -1972,23 +1972,24 @@ to upconvert to 32b float internally? update MAX instead of MIN value, ie. GL_GREATER/GL_GEQUAL - - + - + + + @@ -2006,10 +2007,9 @@ to upconvert to 32b float internally? - - + - + @@ -2071,12 +2071,9 @@ to upconvert to 32b float internally? - - - - - - + + + + + + @@ -2228,6 +2228,7 @@ to upconvert to 32b float internally? + Z_TEST_ENABLE bit is set for zfunc other than GL_ALWAYS or GL_NEVER @@ -2244,6 +2245,7 @@ to upconvert to 32b float internally? + @@ -2281,6 +2283,7 @@ to upconvert to 32b float internally? + @@ -2303,6 +2306,10 @@ to upconvert to 32b float internally? + + + + @@ -2316,14 +2323,16 @@ to upconvert to 32b float internally? - + + + @@ -2358,6 +2367,7 @@ to upconvert to 32b float internally? + @@ -2365,6 +2375,7 @@ to upconvert to 32b float internally? + @@ -2377,27 +2388,30 @@ to upconvert to 32b float internally? - + - + + + + @@ -2414,13 +2428,26 @@ to upconvert to 32b float internally? - + + + + + + + @@ -2428,6 +2455,7 @@ to upconvert to 32b float internally? + @@ -2464,11 +2492,13 @@ to upconvert to 32b float internally? + + @@ -2597,7 +2627,7 @@ to upconvert to 32b float internally? plus # of transform-feedback (streamout) varyings if using the hw streamout (rather than stg instructions in shader) - + @@ -2605,7 +2635,7 @@ to upconvert to 32b float internally? geometry shader - + @@ -2619,7 +2649,7 @@ to upconvert to 32b float internally? plus # of transform-feedback (streamout) varyings if using the hw streamout (rather than stg instructions in shader) - + @@ -2629,7 +2659,7 @@ to upconvert to 32b float internally? plus # of transform-feedback (streamout) varyings if using the hw streamout (rather than stg instructions in shader) - + @@ -2654,11 +2684,22 @@ to upconvert to 32b float internally? + + + + + + + + + + - + + @@ -2688,11 +2729,17 @@ to upconvert to 32b float internally? - + + + + + + + @@ -2700,10 +2747,11 @@ to upconvert to 32b float internally? - + + - + @@ -2748,6 +2796,15 @@ to upconvert to 32b float internally? + + + + + + - + @@ -2837,7 +2894,7 @@ to upconvert to 32b float internally? - + @@ -2931,7 +2988,7 @@ to upconvert to 32b float internally? - + @@ -2955,11 +3012,22 @@ to upconvert to 32b float internally? + + + + + + + + @@ -2982,6 +3050,10 @@ to upconvert to 32b float internally? + + + + per MRT @@ -3009,6 +3081,10 @@ to upconvert to 32b float internally? + + + + - + @@ -3042,6 +3118,12 @@ to upconvert to 32b float internally? + + @@ -3057,10 +3139,12 @@ to upconvert to 32b float internally? + - - + + + @@ -3076,12 +3160,14 @@ to upconvert to 32b float internally? + + @@ -3171,6 +3257,11 @@ to upconvert to 32b float internally? + + + + + @@ -3179,6 +3270,11 @@ to upconvert to 32b float internally? + + + + + @@ -3195,6 +3291,7 @@ to upconvert to 32b float internally? + @@ -3259,7 +3356,7 @@ to upconvert to 32b float internally? - + @@ -3290,7 +3387,12 @@ to upconvert to 32b float internally? --> - + + @@ -3311,11 +3413,10 @@ to upconvert to 32b float internally? - + + + @@ -3336,7 +3437,7 @@ with a better name. used but if they are good chance position is same as TEX_CONST --> - + @@ -3395,19 +3496,7 @@ with a better name. - - - - - - - - - - - - - +