From 3a19c36618f8b9e54a5beef793a2727f1358b3ec Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 26 Apr 2023 14:28:19 +0200 Subject: [PATCH] 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 Part-of: --- src/amd/vulkan/radv_sqtt.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index 03eaa3b..208e8a2 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -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; } -- 2.7.4