freedreno/a7xx: Add CP_RESET_CONTEXT_STATE

Used by the kernel driver. Definition taken from kgsl.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24969>
This commit is contained in:
Connor Abbott
2023-08-31 13:43:36 +02:00
committed by Marge Bot
parent 9bd2fabee9
commit 2ee3367dc9

View File

@@ -645,6 +645,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
non-visible draw calls.
</doc>
<value name="CP_FIXED_STRIDE_DRAW_TABLE" value="0x7f" variants="A7XX-"/>
<doc>Reset various on-chip state used for synchronization</doc>
<value name="CP_RESET_CONTEXT_STATE" value="0x1f" variants="A7XX-"/>
</enum>
@@ -2249,5 +2252,13 @@ opcode: CP_LOAD_STATE4 (30) (4 dwords)
</reg32>
</domain>
<domain name="CP_RESET_CONTEXT_STATE" width="32">
<reg32 offset="0" name="0">
<bitfield name="CLEAR_ON_CHIP_TS" pos="0" type="boolean"/>
<bitfield name="CLEAR_RESOURCE_TABLE" pos="1" type="boolean"/>
<bitfield name="CLEAR_GLOBAL_LOCAL_TS" pos="2" type="boolean"/>
</reg32>
</domain>
</database>