Mesa (master): etnaviv: fix comment for source of etna_mesa_debug

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Sep 22 14:31:42 UTC 2020


Module: Mesa
Branch: master
Commit: 952cf95f8b07526d2ea4d5bc84e5572535765534
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=952cf95f8b07526d2ea4d5bc84e5572535765534

Author: Michael Tretter <m.tretter at pengutronix.de>
Date:   Tue Sep  8 15:27:18 2020 +0200

etnaviv: fix comment for source of etna_mesa_debug

The file and the environment variables have different names than
described in the comment. Fix the comment to avoid confusion.

Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6661>

---

 src/gallium/drivers/etnaviv/etnaviv_debug.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/etnaviv/etnaviv_debug.h b/src/gallium/drivers/etnaviv/etnaviv_debug.h
index 6070f2ca189..7b526553d41 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_debug.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_debug.h
@@ -57,7 +57,7 @@
 #define ETNA_DBG_DEQP            0x4000000 /* Hacks to run dEQP GLES3 tests */
 #define ETNA_DBG_NOCACHE         0x8000000 /* Disable shader cache */
 
-extern int etna_mesa_debug; /* set in etna_screen.c from ETNA_DEBUG */
+extern int etna_mesa_debug; /* set in etnaviv_screen.c from ETNA_MESA_DEBUG */
 
 #define DBG_ENABLED(flag) unlikely(etna_mesa_debug & (flag))
 



More information about the mesa-commit mailing list