From aa96444149fd92f80467f215985b4c39f4c00fd5 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Tue, 14 Oct 2025 12:08:30 -0700 Subject: [PATCH] wsi: Fix the flagging of dma_buf_sync_file for the amdgpu workaround. In my regression fix, I covered one of the two paths that had stopped setting the implicit_sync flag and thus triggered the amdgpu behavior we don't want, but probably the less common one. Fixes: f7cbc7b1c56c ("radv: Allocate BOs as implicit sync even if the WSI is doing implicit sync.") Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13942 Part-of: --- src/vulkan/wsi/wsi_common_drm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vulkan/wsi/wsi_common_drm.c b/src/vulkan/wsi/wsi_common_drm.c index d7518fec93f..fe297d3ca01 100644 --- a/src/vulkan/wsi/wsi_common_drm.c +++ b/src/vulkan/wsi/wsi_common_drm.c @@ -757,6 +757,7 @@ wsi_create_native_image_mem(const struct wsi_swapchain *chain, * handling implict sync ourselves. */ .implicit_sync = !info->explicit_sync && !chain->dma_buf_semaphore, + .dma_buf_sync_file = chain->dma_buf_semaphore, }; const VkExportMemoryAllocateInfo memory_export_info = { .sType = VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO,