anv: garbage collect timeline semaphore when querying value
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 6 Jul 2020 14:11:35 +0000 (17:11 +0300)
committerMarge Bot <eric+marge@anholt.net>
Mon, 6 Jul 2020 22:33:46 +0000 (22:33 +0000)
commitedc8119da4eafb45ae90b70ba33b2c1f5b85c4c1
treecc64fe0253180d6e63f8a57d8a7693a4c1b52c55
parent137d8f98897de678b0ac6f31e535131c590e4368
anv: garbage collect timeline semaphore when querying value

If we don't garbage collect the timeline, the value never progresses
even though work completed.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3226
Fixes: 34f32a6d664807 ("anv: implement VK_KHR_timeline_semaphore")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5774>
src/intel/vulkan/anv_queue.c