radv: disable SPM trace on GFX11_5
SPM needs performance counters and they aren't exposed yet. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30225>
This commit is contained in:

committed by
Marge Bot

parent
057c4e3786
commit
664a31bcd1
@@ -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 {
|
||||
|
Reference in New Issue
Block a user