mesa/src/vulkan/wsi
Faith Ekstrand e4d9650e21 vulkan/wsi: Move a couple of dma-buf sync checks
In 14b4160792 ("vulkan/wsi: Only test for dma-buf sync file support
once"), I moved the dma-buf sync file import/export check earlier.  This
is fine for hardware implementations where we have real dma-buf
import/export but it broke lavapipe because the check itself ignored
whether or not we actually have dma-buf import/export.  Add a couple
more checks to wsi_drm_check_dma_buf_sync_file_import_export() so it's
safe even for SW drivers.  Also, in wsi_create_sync_for_dma_buf_wait(),
check if we actually have a dma-buf.

Fixes: 14b4160792 ("vulkan/wsi: Only test for dma-buf sync file support once")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37033>
2025-08-28 22:27:05 +00:00
..
meson.build x11: Add an x11_xlib_display_is_thread_safe() helper 2025-07-16 01:32:56 +00:00
wsi_common.c vulkan/wsi: Always use VK_PIPELINE_STAGE_2_TRANSFER_BIT for semaphore ops 2025-08-22 23:05:05 +00:00
wsi_common.h vulkan/wsi: Make get_blit_queue return a struct vk_queue * 2025-08-22 23:05:03 +00:00
wsi_common_display.c wsi/display: Avoid connector reprobes in wsi_GetRandROutputDisplayEXT 2025-08-28 07:26:52 +00:00
wsi_common_display.h vulkan/wsi/display: Wrap wsi_display_fence in a vk_sync 2021-11-16 10:54:27 -06:00
wsi_common_drm.c vulkan/wsi: Move a couple of dma-buf sync checks 2025-08-28 22:27:05 +00:00
wsi_common_drm.h vk/wsi: C++-proof wsi_common_drm.h 2023-03-24 15:49:25 +00:00
wsi_common_headless.c vulkan/wsi/headless: clean up headless wsi device and headers 2025-08-10 07:16:46 +00:00
wsi_common_metal.c wsi/metal: current extents might not be known until swapchain is created 2025-08-26 15:32:41 +00:00
wsi_common_metal_layer.h wsi: Fix Metal WSI CAMetalDrawable leak 2024-09-18 22:55:28 +00:00
wsi_common_metal_layer.m wsi: Fix Metal WSI CAMetalDrawable leak 2024-09-18 22:55:28 +00:00
wsi_common_private.h vulkan/wsi: Make get_blit_queue return a struct vk_queue * 2025-08-22 23:05:03 +00:00
wsi_common_queue.h vulkan/wsi/queue: Use mtx_t and u_cnd_monotonic 2024-07-08 22:09:06 +00:00
wsi_common_wayland.c vulkan/wsi/wayland: Enable 4444 formats 2025-08-05 06:04:28 +00:00
wsi_common_win32.cpp vulkan/wsi: Support alpha swapchains on win32 2024-11-13 04:26:46 +00:00
wsi_common_x11.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00