mesa/src/virtio/vulkan
Yiwei Zhang 6868212774 venus: fix a memory corruption in query records recycle
The free list must be re-initialized. Found the bug while running:
dEQP-VK.ray_tracing_pipeline.acceleration_structures.device_compability_khr.gpu_built.top
where it invokes VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT to purge
the cmd pool resources, and the next alloc still gets cache hit with the
"empty" list.

Fixes: e2c4bafccc ("venus: free query batches for VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33908>
2025-03-06 18:25:20 +00:00
..
.clang-format venus: clang format fixes 2024-01-03 07:16:23 +00:00
meson.build venus: implement host image copy commands 2025-02-26 19:16:48 +00:00
vn_android.c venus: use dedicated allocation for ANB image memory import 2025-02-11 05:52:35 +00:00
vn_android.h venus: support VK_ANDROID_NATIVE_BUFFER_SPEC_VERSION 8 2024-06-25 09:08:12 +00:00
vn_buffer.c venus: support VK_KHR_maintenance6 2025-02-22 21:14:47 +00:00
vn_buffer.h venus: rename buffer cache to buffer reqs cache 2024-01-11 01:40:06 +00:00
vn_command_buffer.c venus: fix a memory corruption in query records recycle 2025-03-06 18:25:20 +00:00
vn_command_buffer.h venus: deprecate unused perf env vars 2024-03-26 00:37:24 +00:00
vn_common.c venus: update second queue emulation for 1.4 requirement 2025-02-22 21:14:47 +00:00
vn_common.h venus: update second queue emulation for 1.4 requirement 2025-02-22 21:14:47 +00:00
vn_cs.c venus: ensure shmem is attached to renderer before use for guest vram 2024-03-15 01:51:16 +00:00
vn_cs.h venus: remove obsolete TODOs 2024-04-04 06:35:54 +00:00
vn_descriptor_set.c venus: updated to use core types for promoted extensions 2025-02-17 10:46:35 +00:00
vn_descriptor_set.h venus: clean up legacy descriptor update template bits 2024-04-16 01:30:42 +00:00
vn_device.c venus: support wsi maintenance1 extensions 2025-02-27 09:53:57 +00:00
vn_device.h venus: drop internal memory pools 2024-05-24 02:34:45 +00:00
vn_device_memory.c venus: support VK_KHR_map_memory2 2025-02-19 04:06:58 +00:00
vn_device_memory.h venus: drop internal memory pools 2024-05-24 02:34:45 +00:00
vn_feedback.c venus: support VK_KHR_map_memory2 2025-02-19 04:06:58 +00:00
vn_feedback.h venus: rewrite qfb vn_feedback helpers 2024-03-14 23:40:44 +00:00
vn_host_copy.c venus: implement host image copy commands 2025-02-26 19:16:48 +00:00
vn_icd.c venus: clang format fixes 2024-01-03 07:16:23 +00:00
vn_icd.h
vn_image.c venus: use sharing_mode from common vk_image 2025-02-26 19:16:48 +00:00
vn_image.h venus: use sharing_mode from common vk_image 2025-02-26 19:16:48 +00:00
vn_instance.c venus: support wsi maintenance1 extensions 2025-02-27 09:53:57 +00:00
vn_instance.h venus: re-enable 1.4 support 2025-02-26 19:16:48 +00:00
vn_physical_device.c venus: relax the requirement for sync2 2025-03-02 16:40:14 +00:00
vn_physical_device.h venus: enable VK_EXT_host_image_copy support 2025-02-26 19:16:48 +00:00
vn_pipeline.c venus: fix sample location info validity 2025-02-22 22:29:43 -08:00
vn_pipeline.h venus: Add enum vn_pipeline_type 2023-10-18 12:12:17 -07:00
vn_query_pool.c venus: defer qfb buffer init upon query being used 2024-06-04 22:39:30 +00:00
vn_query_pool.h venus: defer qfb buffer init upon query being used 2024-06-04 22:39:30 +00:00
vn_queue.c venus: avoid over-caching sfb cmds 2024-09-05 19:17:22 +00:00
vn_queue.h venus: emulate a second graphics queue on Android 2025-02-11 06:07:24 +00:00
vn_render_pass.c venus: sync protocol for v1.4.307 release and update promoted entries 2025-02-17 10:46:35 +00:00
vn_render_pass.h venus: Use VkImageAspectFlags in vn_subpass 2023-10-18 12:12:17 -07:00
vn_renderer.h venus: directly use vk drm and pci props in renderer info 2024-05-16 01:58:14 +00:00
vn_renderer_internal.c venus: enable renderer shmem cache dump for cache debug 2023-12-08 04:06:37 +00:00
vn_renderer_internal.h venus: enable renderer shmem cache dump for cache debug 2023-12-08 04:06:37 +00:00
vn_renderer_util.c venus: make vn_renderer_shmem_pool thread-safe 2023-12-08 04:06:37 +00:00
vn_renderer_util.h venus: make vn_renderer_shmem_pool thread-safe 2023-12-08 04:06:37 +00:00
vn_renderer_virtgpu.c venus: replace dup() with os_dupfd_cloexec() 2025-02-26 00:45:51 +00:00
vn_renderer_vtest.c venus: directly use vk drm and pci props in renderer info 2024-05-16 01:58:14 +00:00
vn_ring.c venus: only request ring thread prio for TLS ring 2024-07-20 17:27:24 +00:00
vn_ring.h venus: only request ring thread prio for TLS ring 2024-07-20 17:27:24 +00:00
vn_wsi.c venus: make tls hint specific to pipeline creation 2024-01-11 06:05:01 +00:00
vn_wsi.h