Mesa (main): radv: setup syncobj fd via wsi_device_setup_syncobj_fd
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 4 17:35:03 UTC 2021
Module: Mesa
Branch: main
Commit: 01fb24d50ea1b0430c4feb85b1b1ea607e0aede2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=01fb24d50ea1b0430c4feb85b1b1ea607e0aede2
Author: Tapani Pälli <tapani.palli at intel.com>
Date: Thu Oct 14 14:44:41 2021 +0300
radv: setup syncobj fd via wsi_device_setup_syncobj_fd
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12305>
---
src/amd/vulkan/radv_wsi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/amd/vulkan/radv_wsi.c b/src/amd/vulkan/radv_wsi.c
index a90bceeffe3..642bb9614d0 100644
--- a/src/amd/vulkan/radv_wsi.c
+++ b/src/amd/vulkan/radv_wsi.c
@@ -60,6 +60,8 @@ radv_init_wsi(struct radv_physical_device *physical_device)
physical_device->wsi_device.supports_modifiers = physical_device->rad_info.chip_class >= GFX9;
physical_device->wsi_device.set_memory_ownership = radv_wsi_set_memory_ownership;
+ wsi_device_setup_syncobj_fd(&physical_device->wsi_device, physical_device->local_fd);
+
physical_device->vk.wsi_device = &physical_device->wsi_device;
return VK_SUCCESS;
More information about the mesa-commit
mailing list