radv/sqtt: fix configuring AUTO_FLUSH_MODE on GFX10.3

The polarity is inverted. Ported from RadeonSI and PAL.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16303>
This commit is contained in:
Samuel Pitoiset 2022-05-03 17:20:24 +02:00 committed by Marge Bot
parent 4f9ae10296
commit e53e70fba0

View file

@ -54,6 +54,9 @@ gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable)
if (device->physical_device->rad_info.chip_class == GFX10_3)
thread_trace_ctrl |= S_008D1C_LOWATER_OFFSET(4);
if (device->physical_device->rad_info.has_sqtt_auto_flush_mode_bug)
thread_trace_ctrl |= S_008D1C_AUTO_FLUSH_MODE(1);
return thread_trace_ctrl;
}