radv/sqtt: fix wrong check in radv_is_thread_trace_complete()

Oops, should be equal actually.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4022>
This commit is contained in:
Samuel Pitoiset 2020-03-02 14:59:45 +01:00 committed by Marge Bot
parent ba29c050a3
commit 6c91aa7955
1 changed files with 1 additions and 1 deletions

View File

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