Module: Mesa Branch: main Commit: b9cf32778776c589e889cba6a3602963eab29414 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9cf32778776c589e889cba6a3602963eab29414
Author: Samuel Pitoiset <[email protected]> Date: Wed Mar 3 09:35:18 2021 +0100 radv: remove useless assertions in the SQTT path The driver aborts when the chip class is older than GFX8. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12854> --- 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 04a67af7029..91aef6f51c0 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) {
