mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
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>
(cherry picked from commit b589df9862)
This commit is contained in:
parent
436f9bd6f5
commit
c2bc10a600
1 changed files with 6 additions and 0 deletions
|
|
@ -2779,6 +2779,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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue