Mesa (main): freedreno: Move FD_MESA_DEBUG=msgs output to mesa_logi.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 17 23:04:41 UTC 2021
Module: Mesa
Branch: main
Commit: 57da290b52aeb411082ea1d594818b6662c23c38
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57da290b52aeb411082ea1d594818b6662c23c38
Author: Emma Anholt <emma at anholt.net>
Date: Thu Jun 17 10:54:46 2021 -0700
freedreno: Move FD_MESA_DEBUG=msgs output to mesa_logi.
It didn't work unless you had a debug build, and I regularly want to use
it on non-debug builds.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11452>
---
src/gallium/drivers/freedreno/freedreno_util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h
index 97e0e3aff9c..f8cf9b6cb19 100644
--- a/src/gallium/drivers/freedreno/freedreno_util.h
+++ b/src/gallium/drivers/freedreno/freedreno_util.h
@@ -110,7 +110,7 @@ extern bool fd_binning_enabled;
#define DBG(fmt, ...) \
do { \
if (FD_DBG(MSGS)) \
- mesa_logd("%5d: %s:%d: " fmt, gettid(), __FUNCTION__, __LINE__, \
+ mesa_logi("%5d: %s:%d: " fmt, gettid(), __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
} while (0)
More information about the mesa-commit
mailing list