From b9cf32778776c589e889cba6a3602963eab29414 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 3 Mar 2021 09:35:18 +0100 Subject: [PATCH] radv: remove useless assertions in the SQTT path The driver aborts when the chip class is older than GFX8. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhhuizen Part-of: --- src/amd/vulkan/radv_sqtt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index 04a67af..91aef6f 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -65,8 +65,6 @@ radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *c struct radeon_info *rad_info = &device->physical_device->rad_info; unsigned max_se = rad_info->max_se; - assert(device->physical_device->rad_info.chip_class >= GFX8); - for (unsigned se = 0; se < max_se; se++) { uint64_t va = radv_buffer_get_va(device->thread_trace.bo); uint64_t data_va = ac_thread_trace_get_data_va(rad_info, &device->thread_trace, va, se); @@ -243,8 +241,6 @@ radv_emit_thread_trace_stop(struct radv_device *device, struct radeon_cmdbuf *cs { unsigned max_se = device->physical_device->rad_info.max_se; - assert(device->physical_device->rad_info.chip_class >= GFX8); - /* Stop the thread trace with a different event based on the queue. */ if (queue_family_index == RADV_QUEUE_COMPUTE && device->physical_device->rad_info.chip_class >= GFX7) { -- 2.7.4