render/vulkan: import fence to DMA-BUF instead of blocking
Right now the Vulkan renderer blocks until the frame is complete after rendering. This is necessary because Vulkan doesn't interoperate well with implicit sync we use everywhere else.
Use the new kernel API to import a sync_file into a DMA-BUF to avoid blocking.
Depends on:
- https://lore.kernel.org/dri-devel/20220506180216.2095060-1-jason@jlekstrand.net/
https://lore.kernel.org/dri-devel/20220527073422.367910-1-contact@emersion.fr/T/#u
Depends on !3817 (merged)
Edited by Simon Ser