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

Author: Samuel Pitoiset <[email protected]>
Date:   Fri Apr 28 16:30:00 2023 +0200

radv: enable RADV_THREAD_TRACE_CACHE_COUNTERS by default

It should work but if not enabled by default, I think most people
forget about it.

If you have any issues with it, you can disable by using
RADV_THREAD_TRACE_CACHE_COUNTERS=false and please report!

Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22763>

---

 src/amd/vulkan/radv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 5f3618e3d86..a9583be007b 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -106,7 +106,7 @@ radv_get_int_debug_option(const char *name, int 
default_value)
 static bool
 radv_spm_trace_enabled()
 {
-   return radv_sqtt_enabled() && 
debug_get_bool_option("RADV_THREAD_TRACE_CACHE_COUNTERS", false);
+   return radv_sqtt_enabled() && 
debug_get_bool_option("RADV_THREAD_TRACE_CACHE_COUNTERS", true);
 }
 
 VKAPI_ATTR VkResult VKAPI_CALL

Reply via email to