From: Samuel Pitoiset Date: Tue, 3 May 2022 15:20:24 +0000 (+0200) Subject: radv/sqtt: fix configuring AUTO_FLUSH_MODE on GFX10.3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e53e70fba007e36b9e3c94c815a8636019e8e77f;p=platform%2Fupstream%2Fmesa.git radv/sqtt: fix configuring AUTO_FLUSH_MODE on GFX10.3 The polarity is inverted. Ported from RadeonSI and PAL. Signed-off-by: Samuel Pitoiset Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index 9a89ef6..17fdcea 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -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; }