Module: Mesa
Branch: main
Commit: cd2e3fc59ad1bf7101053411e22349665d536530
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cd2e3fc59ad1bf7101053411e22349665d536530

Author: Yogesh Mohan Marimuthu <[email protected]>
Date:   Tue Oct 18 23:33:00 2022 +0530

radeonsi: add more documentation for dpbb debug env variable

Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25148>

---

 docs/envvars.rst                       | 4 ++--
 src/gallium/drivers/radeonsi/si_pipe.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/envvars.rst b/docs/envvars.rst
index a6bb026ce7e..176d144eb05 100644
--- a/docs/envvars.rst
+++ b/docs/envvars.rst
@@ -1423,7 +1423,7 @@ RadeonSI driver environment variables
    ``nodccmsaa``
       Disable DCC for MSAA
    ``nodpbb``
-      Disable DPBB.
+      Disable DPBB. Overrules the dpbb enable option.
    ``nodfsm``
       Disable DFSM.
    ``notiling``
@@ -1499,7 +1499,7 @@ RadeonSI driver environment variables
    ``nooutoforder``
       Disable out-of-order rasterization
    ``dpbb``
-      Enable DPBB.
+      Enable DPBB. Enable DPBB for gfx9 dGPU. Default enabled for gfx9 APU and 
>= gfx10.
    ``dfsm``
       Enable DFSM.
    ``extra_md``
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c 
b/src/gallium/drivers/radeonsi/si_pipe.c
index 6979c87458b..5390f3e2e8b 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -91,8 +91,8 @@ static const struct debug_named_value 
radeonsi_debug_options[] = {
    {"nonggc", DBG(NO_NGG_CULLING), "Disable NGG culling."},
    {"switch_on_eop", DBG(SWITCH_ON_EOP), "Program WD/IA to switch on 
end-of-packet."},
    {"nooutoforder", DBG(NO_OUT_OF_ORDER), "Disable out-of-order 
rasterization"},
-   {"nodpbb", DBG(NO_DPBB), "Disable DPBB."},
-   {"dpbb", DBG(DPBB), "Enable DPBB."},
+   {"nodpbb", DBG(NO_DPBB), "Disable DPBB. Overrules the dpbb enable option."},
+   {"dpbb", DBG(DPBB), "Enable DPBB for gfx9 dGPU. Default enabled for gfx9 
APU and >= gfx10."},
    {"nohyperz", DBG(NO_HYPERZ), "Disable Hyper-Z"},
    {"no2d", DBG(NO_2D_TILING), "Disable 2D tiling"},
    {"notiling", DBG(NO_TILING), "Disable tiling"},

Reply via email to