summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-04-10 18:36:42 -0700
committerJason Ekstrand <[email protected]>2017-08-15 19:08:26 -0700
commit55bce22d8d98342ce071b7286ce07f31430f772a (patch)
tree2a6fc2247e11ac3250ede79060eab9f1d6cbd793 /src/intel/vulkan/anv_device.c
parentf41a0e4b0daefbe1de281a089bf6f139bd347881 (diff)
anv: Use DRM sync objects for external semaphores when available
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 3c5f78c9993..a6d5215ab8d 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -338,6 +338,7 @@ anv_physical_device_init(struct anv_physical_device *device,
device->has_exec_async = anv_gem_get_param(fd, I915_PARAM_HAS_EXEC_ASYNC);
device->has_exec_fence = anv_gem_get_param(fd, I915_PARAM_HAS_EXEC_FENCE);
+ device->has_syncobj = anv_gem_get_param(fd, I915_PARAM_HAS_EXEC_FENCE_ARRAY);
bool swizzled = anv_gem_get_bit6_swizzle(fd, I915_TILING_X);