mesa/src/virtio/vulkan
Yiwei Zhang 4efaa64159 vulkan/treewide: add and use common Android HMI hal implementation
There's no need for a per driver HMI implementation since the
vk_icdGetInstanceProcAddr implementation can well populate the required
entrypoints for Android icd.

Changes have to be done in this single commit for simplicity. Otherwise,
I would have to create a separate android shared library in the runtime
like how vk_instance is handled today, so that the target is able to
check per driver enablement def. However, after all drivers have
migrated over within this MR, we still have to clean those up. So I
decided to just do those in a single commit instead.

v2: avoid preloading u_gralloc in vulkan hal open

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1)
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35561>
2025-06-18 22:23:53 +00:00
..
.clang-format venus: clang format fixes 2024-01-03 07:16:23 +00:00
meson.build venus: properly enable display platform extensions 2025-03-13 13:24:48 +00:00
vn_acceleration_structure.c venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_acceleration_structure.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_android.c vulkan/treewide: add and use common Android HMI hal implementation 2025-06-18 22:23:53 +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_EXT_buffer_device_address 2025-03-27 00:52:17 +00:00
vn_buffer.h venus: track prime blit dst buffer memory in the wsi image 2025-05-27 02:40:44 +00:00
vn_command_buffer.c venus: track prime blit dst buffer memory in the wsi image 2025-05-27 02:40:44 +00:00
vn_command_buffer.h venus: use common cmd pool_link 2025-03-15 22:14:59 +00:00
vn_common.c venus: fix unexpected ring alive status expire upon owner thread switch 2025-03-24 21:58:10 +00:00
vn_common.h venus: use common vk_command_buffer 2025-03-15 22:14:59 +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: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_descriptor_set.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_device.c venus: clang-format 2025-05-16 14:12:36 +00:00
vn_device.h venus: explicitly get vn_device from vk_device 2025-03-15 22:14:59 +00:00
vn_device_memory.c venus: track prime blit dst buffer memory in the wsi image 2025-05-27 02:40:44 +00:00
vn_device_memory.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_feedback.c venus: use vk_command_pool internals 2025-03-15 22:14:59 +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: avoid false assert for MESA_VK_WSI_DEBUG=sw,linear 2025-05-21 18:41:23 +00:00
vn_image.h venus: track prime blit dst buffer memory in the wsi image 2025-05-27 02:40:44 +00:00
vn_instance.c venus: clang-format 2025-05-16 14:12:36 +00:00
vn_instance.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_physical_device.c venus: fix maint7 layered vk props query 2025-06-14 03:31:32 +00:00
vn_physical_device.h venus: support VK_EXT_multisampled_render_to_single_sampled 2025-03-27 00:52:17 +00:00
vn_pipeline.c venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_pipeline.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_query_pool.c venus: support VK_KHR_maintenance7 2025-03-26 00:26:22 +00:00
vn_query_pool.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_queue.c venus: refactor wsi acquire to use semaphore and fence SYNC_FD import 2025-05-21 18:41:23 +00:00
vn_queue.h venus: refactor wsi acquire to use semaphore and fence SYNC_FD import 2025-05-21 18:41:23 +00:00
vn_render_pass.c venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_render_pass.h venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00: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: clang-format 2025-05-16 14:12:36 +00:00
vn_renderer_vtest.c venus: clang-format 2025-05-16 14:12:36 +00:00
vn_ring.c venus: rename common vk object base member to vk 2025-03-15 22:14:58 +00:00
vn_ring.h venus: drop vn_call usage on apis without any returns 2025-03-12 19:41:12 +00:00
vn_wsi.c venus: force sw wsi path on nv proprietary 2025-06-09 17:17:08 +00:00
vn_wsi.h