summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-05-10 14:28:33 -0700
committerJason Ekstrand <[email protected]>2017-08-15 19:08:26 -0700
commit5c4e4932e02164e18cba9ae2cf3ec56afa2f2a6b (patch)
tree6b3bc6cb8951dcbd1937262995e651d5e91239fc /src/intel/vulkan/anv_device.c
parente4054ab77b4f5867d0a86830bd9daec685941a23 (diff)
anv: Implement support for exporting semaphores as FENCE_FD
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 e82e1e97ca5..3c5f78c9993 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -337,6 +337,7 @@ anv_physical_device_init(struct anv_physical_device *device,
goto fail;
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);
bool swizzled = anv_gem_get_bit6_swizzle(fd, I915_TILING_X);