freedreno/regs: Add a bit of documentation of what SKIP_IB2 does.

Based on @cwabbott's research.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18187>
This commit is contained in:
Emma Anholt
2022-08-22 09:35:13 -07:00
committed by Marge Bot
parent b660c0eff3
commit 554cd8bcc2

View File

@@ -412,6 +412,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
<value name="CP_CONTEXT_REG_BUNCH" value="0x5c" variants="A5XX-"/>
<!-- A5XX Enable yield in RB only -->
<value name="CP_YIELD_ENABLE" value="0x1c" variants="A5XX"/>
<doc>
Enables IB2 skipping. If both GLOBAL and LOCAL are 1 and
nothing is left in the visibility stream, then
CP_INDIRECT_BUFFER will be skipped, and draws will early return
from their IB.
</doc>
<value name="CP_SKIP_IB2_ENABLE_GLOBAL" value="0x1d" variants="A5XX-"/>
<value name="CP_SKIP_IB2_ENABLE_LOCAL" value="0x23" variants="A5XX-"/>
<value name="CP_SET_SUBDRAW_SIZE" value="0x35" variants="A5XX-"/>