mesa/src
Valentine Burley dad72b414b tu/drm/virtio: Fix tu_wait_fence timeout handling
Fixes two bugs in the WAIT_FENCE polling loop:
1. Break on timeout returned VK_SUCCESS because ret was read too late.
2. UINT64_MAX timeout_ns overflowed end_time, causing immediate exit.

Fix by reading rsp->ret before the timeout check and using
OS_TIMEOUT_INFINITE (like virtio_pipe_wait in freedreno) to avoid
overflow.

This prevents premature BO teardown during host-side fault recovery.

Fixes: f17c5297d7 ("tu: Add virtgpu support")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41108>
2026-04-23 06:52:14 +00:00
..
amd ac,radeonsi,radv: use V_581A_* engine sel for non-pws acquire_mem packet 2026-04-23 02:48:06 +00:00
android_stub
asahi spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
broadcom ci: Delete references to various broken traces. 2026-04-22 17:39:31 +00:00
c11
compiler spirv: Demote the SPIRV 1.6 OpTypeSampledImage on Buffer failure to a warning. 2026-04-22 17:39:30 +00:00
drm-shim drm-shim: fix shim on GLX 2026-04-14 12:06:10 +00:00
egl meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
etnaviv Uprev Piglit to 11ce9eb56edb00e6a7702d13168cc827ce5e0cbd 2026-04-10 21:21:52 +00:00
freedreno tu/drm/virtio: Fix tu_wait_fence timeout handling 2026-04-23 06:52:14 +00:00
gallium radeonsi: enable protected context support for Android 2026-04-23 05:23:57 +00:00
gbm
getopt
gfxstream gfxstream: fix string array marshalling 2026-04-20 15:46:58 +00:00
glx meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
gtest
imagination spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
imgui
intel anv: silence warning 2026-04-22 16:17:35 -07:00
kosmickrisp spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
loader kmsro: wire Zink up as a fallback 2026-03-13 18:54:26 +00:00
mesa spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
microsoft spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
nouveau nak/lower_cf: remove single src phis 2026-04-21 23:37:55 +00:00
panfrost panvk: Fix debug flag overlap 2026-04-22 15:14:23 +00:00
poly
tool intel: Include available counter descriptions in the perfetto counter spec 2026-03-06 08:47:16 +00:00
util drirc: use anv_disable_drm_ccs_modifiers for any GTK version 2026-04-22 12:54:40 +00:00
virtio ci/venus: update expectation for an expected fail 2026-04-10 12:16:04 +00:00
vulkan vulkan: add tracking for VK_EXT_primitive_restart_index 2026-04-22 08:52:57 +00:00
x11 meson: Add support for buidling zink + Turnip/KGSL 2026-03-31 15:00:29 +00:00
.clang-format intel: add Jay 2026-04-10 18:21:21 +00:00
meson.build