From 664a31bcd1e8d5b28c75f9fe00c17de418cd9129 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 17 Jul 2024 06:11:28 -0700 Subject: [PATCH] radv: disable SPM trace on GFX11_5 SPM needs performance counters and they aren't exposed yet. Signed-off-by: Samuel Pitoiset Part-of: --- 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 8eae8db5588..108846ac8aa 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -605,7 +605,7 @@ radv_device_init_rgp(struct radv_device *device) radv_sqtt_queue_events_enabled() ? "enabled" : "disabled"); if (radv_spm_trace_enabled(instance)) { - if (pdev->info.gfx_level >= GFX10) { + if (pdev->info.gfx_level >= GFX10 && pdev->info.gfx_level < GFX11_5) { if (!radv_spm_init(device)) return VK_ERROR_INITIALIZATION_FAILED; } else {