mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 00:28:08 +02:00
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> |
||
|---|---|---|
| .. | ||
| meson.build | ||
| wsi_common.c | ||
| wsi_common.h | ||
| wsi_common_display.c | ||
| wsi_common_display.h | ||
| wsi_common_drm.c | ||
| wsi_common_drm.h | ||
| wsi_common_private.h | ||
| wsi_common_queue.h | ||
| wsi_common_wayland.c | ||
| wsi_common_win32.c | ||
| wsi_common_x11.c | ||