mesa/src/virtio
Yiwei Zhang f788c87d02 venus: fix a race condition between gem close and gem handle tracking
After using sparse array to manager virtgpu bo, we set gem_handle to 0
to indicate that the bo is invalid. However, the gem handle gets closed
before that and can be reused by another newly created bo, leading to
the tracked gem handle being unexpectedly zero'ed out.

Fixes: 88f481dd74 ("venus: make sure gem_handle and vn_renderer_bo are 1:1")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30362>
2024-07-25 18:13:21 +00:00
..
ci ci: re-enable venus ci 2024-07-24 22:25:23 +00:00
vdrm format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00
venus-protocol venus: sync headers for VK_EXT_external_memory_acquire_unmodified 2024-07-10 18:57:26 +00:00
virtio-gpu virgl: Update headers 2024-05-23 20:02:03 +00:00
vtest venus: rename sync_queue -> timeline 2022-12-16 21:12:38 +00:00
vulkan venus: fix a race condition between gem close and gem handle tracking 2024-07-25 18:13:21 +00:00
meson.build build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00