From 554cd8bcc2bc9664cfea0e360571e92a528dc06a Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 22 Aug 2022 09:35:13 -0700 Subject: [PATCH] freedreno/regs: Add a bit of documentation of what SKIP_IB2 does. Based on @cwabbott's research. Part-of: --- src/freedreno/registers/adreno/adreno_pm4.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/freedreno/registers/adreno/adreno_pm4.xml b/src/freedreno/registers/adreno/adreno_pm4.xml index 040a1b32eaf..da5da1e5e89 100644 --- a/src/freedreno/registers/adreno/adreno_pm4.xml +++ b/src/freedreno/registers/adreno/adreno_pm4.xml @@ -412,6 +412,12 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> + + 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. +