diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2017-08-08 12:23:37 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2017-08-28 19:33:43 -0700 |
commit | d21c1510918bdfe64e89834aafe6f49ac4dfc13d (patch) | |
tree | 750703be328bc6c116a069768ff291eb86d1d574 /src/intel/vulkan/anv_private.h | |
parent | 144487ebb8ab7505152318e08176885fd6475fe6 (diff) |
anv/gem: Add support for syncobj wait and reset
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 9b3efda370..7817dc07f0 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -809,6 +809,11 @@ uint32_t anv_gem_syncobj_create(struct anv_device *device, uint32_t flags); void anv_gem_syncobj_destroy(struct anv_device *device, uint32_t handle); int anv_gem_syncobj_handle_to_fd(struct anv_device *device, uint32_t handle); uint32_t anv_gem_syncobj_fd_to_handle(struct anv_device *device, int fd); +void anv_gem_syncobj_reset(struct anv_device *device, uint32_t handle); +bool anv_gem_supports_syncobj_wait(int fd); +int anv_gem_syncobj_wait(struct anv_device *device, + uint32_t *handles, uint32_t num_handles, + int64_t abs_timeout_ns, bool wait_all); VkResult anv_bo_init_new(struct anv_bo *bo, struct anv_device *device, uint64_t size); |