From: Samuel Pitoiset Date: Mon, 2 Mar 2020 13:59:45 +0000 (+0100) Subject: radv/sqtt: fix wrong check in radv_is_thread_trace_complete() X-Git-Tag: upstream/20.1.8~2789 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c91aa7955793c8a4c515d4d3878860defd97ed4;p=platform%2Fupstream%2Fmesa.git radv/sqtt: fix wrong check in radv_is_thread_trace_complete() Oops, should be equal actually. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index c04a79f..669d4a8 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -505,7 +505,7 @@ radv_is_thread_trace_complete(struct radv_device *device, /* Otherwise, compare the current thread trace offset with the number * of written bytes. */ - return info->cur_offset < info->gfx9_write_counter; + return info->cur_offset == info->gfx9_write_counter; } static uint32_t