diff options
author | Jason Ekstrand <[email protected]> | 2017-02-15 17:25:46 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-03 15:09:46 -0700 |
commit | 4201cc2dd3aaa4b6c15c52037b3a6413274082ec (patch) | |
tree | 0038fcf65886bcb383c3e96d25fd42e59f32e3e2 /src/intel/vulkan/anv_device.c | |
parent | ef2e427d783b5c192e9ec5c25613c8a992bfc79b (diff) |
anv: Implement VK_KHX_external_semaphore_fd
This implementation allocates a 4k BO for each semaphore that can be
exported using OPAQUE_FD and uses the kernel's already-existing
synchronization mechanism on BOs.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e73140b23f3..23dff906ac2 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -379,6 +379,10 @@ static const VkExtensionProperties device_extensions[] = { .specVersion = 1, }, { + .extensionName = VK_KHX_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME, + .specVersion = 1, + }, + { .extensionName = VK_KHX_MULTIVIEW_EXTENSION_NAME, .specVersion = 1, }, |