radv: disable SQTT support for unsupported GPUs
Like GFX10.3 which is currently broken. Cc: 20.2 20.3 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7786>
This commit is contained in:
committed by
Marge Bot
parent
5cf41814cd
commit
b589df9862
@@ -2836,6 +2836,12 @@ VkResult radv_CreateDevice(
|
||||
abort();
|
||||
}
|
||||
|
||||
if (device->physical_device->rad_info.chip_class > GFX10) {
|
||||
fprintf(stderr, "radv: Thread trace is not supported "
|
||||
"for that GPU!\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Default buffer size set to 1MB per SE. */
|
||||
device->thread_trace_buffer_size =
|
||||
radv_get_int_debug_option("RADV_THREAD_TRACE_BUFFER_SIZE", 1024 * 1024);
|
||||
|
||||
Reference in New Issue
Block a user