radv: remove useless assertions in the SQTT path

The driver aborts when the chip class is older than GFX8.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12854>
This commit is contained in:
Samuel Pitoiset 2021-03-03 09:35:18 +01:00
parent 8846f65c4f
commit b9cf327787
1 changed files with 0 additions and 4 deletions

View File

@ -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) {