radv: do not abort when the SQTT buffer resize failed
This seems to much. While we are at it, update the error msg. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22732>
This commit is contained in:
committed by
Marge Bot
parent
1202d8b0f9
commit
3a19c36618
@@ -812,11 +812,8 @@ radv_get_thread_trace(struct radv_queue *queue, struct ac_thread_trace *thread_t
|
||||
struct radeon_info *rad_info = &device->physical_device->rad_info;
|
||||
|
||||
if (!ac_sqtt_get_trace(&device->thread_trace, rad_info, thread_trace)) {
|
||||
if (!radv_thread_trace_resize_bo(device)) {
|
||||
fprintf(stderr, "Failed to resize the thread trace buffer.\n");
|
||||
abort();
|
||||
}
|
||||
|
||||
if (!radv_thread_trace_resize_bo(device))
|
||||
fprintf(stderr, "radv: Failed to resize the SQTT buffer.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user