freedreno: Move FD_MESA_DEBUG=msgs output to mesa_logi.
authorEmma Anholt <emma@anholt.net>
Thu, 17 Jun 2021 17:54:46 +0000 (10:54 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 17 Jun 2021 22:47:51 +0000 (22:47 +0000)
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

index 97e0e3a..f8cf9b6 100644 (file)
@@ -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)