summaryrefslogtreecommitdiff
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2023-04-28 16:30:00 +0200
committerMarge Bot <emma+marge@anholt.net>2023-05-01 13:38:53 +0000
commitdbab98d9d63d4de4307c28c0ea578b977ea3f0b7 (patch)
tree93def2982491005a19d9940f655f85930f0b5011 /src/amd/vulkan/radv_device.c
parentf092f548cb8202614c86b47ecd8906d16628ce24 (diff)
downloadmesa-dbab98d9d63d4de4307c28c0ea578b977ea3f0b7.tar.gz
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 <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22763>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c2
1 files changed, 1 insertions, 1 deletions
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