mesa/src/vulkan/wsi
Jason Ekstrand 30b57f10b3 vulkan/wsi: Signal semaphores and fences from the dma-buf
Instead of attempting to signal based on the memory object, use the new
DMA_BUF_IOCTL_EXPORT_SYNC_FILE to get a sync_file for the dma-buf and
use that to signal the semaphore or fence.  Because this happens before
we transfer ownership back to the driver, the resulting sync_file should
only contain dma_fences from the compositor and/or display and shouldn't
be mixed up with the driver in any way.  This gives us a real semaphore
and fence (as opposed to the dummy objects we've used int the past)
without over-synchronization.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>
2022-06-10 01:33:12 +00:00
..
meson.build vulkan: drop empty vulkan_wsi_args 2022-04-27 11:51:26 +00:00
wsi_common.c vulkan/wsi: Signal semaphores and fences from the dma-buf 2022-06-10 01:33:12 +00:00
wsi_common.h vulkan/wsi: Signal semaphores and fences from the dma-buf 2022-06-10 01:33:12 +00:00
wsi_common_display.c vulkan/wsi: Hang on to file descriptors 2022-05-04 22:09:02 +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: Signal semaphores and fences from the dma-buf 2022-06-10 01:33:12 +00:00
wsi_common_drm.h vulkan/wsi: create a common function to compare drm devices 2022-01-14 12:19:57 +00:00
wsi_common_private.h vulkan/wsi: Signal semaphores and fences from the dma-buf 2022-06-10 01:33:12 +00:00
wsi_common_queue.h util/vector: make util_vector_init harder to misuse 2021-10-08 00:15:11 +00:00
wsi_common_wayland.c vulkan/wsi: Hang on to file descriptors 2022-05-04 22:09:02 +00:00
wsi_common_win32.c vulkan/wsi: Make wsi_win32_surface_get_capabilities() return the current extent 2022-05-09 09:31:53 +00:00
wsi_common_x11.c vulkan/wsi/x11: Ensure we have the required number of images for acquire. 2022-05-08 16:27:42 +02:00