diff options
author | Jonathan Marek <[email protected]> | 2020-07-07 22:31:44 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-08 11:33:42 +0000 |
commit | fcac0b4fc9d5e569548d686a1481dfdd3fd01b2c (patch) | |
tree | 973642c5c10f51e78bf358d9403210adf3b74dd6 | |
parent | deefebc55be4478afbfd98e0d5094f09d7739640 (diff) |
freedreno/regs: document CS shared storage size bit
Signed-off-by: Jonathan Marek <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5797>
-rw-r--r-- | src/freedreno/registers/a6xx.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/freedreno/registers/a6xx.xml b/src/freedreno/registers/a6xx.xml index 8a541b7cfd9..84c939edac4 100644 --- a/src/freedreno/registers/a6xx.xml +++ b/src/freedreno/registers/a6xx.xml @@ -3193,7 +3193,16 @@ to upconvert to 32b float internally? <reg32 offset="0xa9a8" name="SP_UNKNOWN_A9A8"/> <!-- set for compute shaders, always 0x41 --> - <reg32 offset="0xa9b1" name="SP_CS_UNKNOWN_A9B1" type="uint"/> + <reg32 offset="0xa9b1" name="SP_CS_UNKNOWN_A9B1" type="uint"> + <doc> + bit 0 seems to toggle between 2k and 32k of shared storage + the ldl/stl offset seems to be rewritten to 0 when it is beyond + this limit. This is different from ldlw/stlw, which wraps at + 64k (and has 36k of storage on A640 - reads between 36k-64k + always return 0) + </doc> + <bitfield name="SHARED_SIZE_2K" pos="0" type="uint"/> + </reg32> <!-- set for compute shaders, always 0x0 --> <reg32 offset="0xa9b3" name="SP_CS_UNKNOWN_A9B3" type="uint"/> |