diff options
author | Jason Ekstrand <[email protected]> | 2017-04-10 18:27:46 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-08-15 19:08:26 -0700 |
commit | f41a0e4b0daefbe1de281a089bf6f139bd347881 (patch) | |
tree | 766ec9387df64d1810d6c0b3e7dc5aaa29808837 /src/intel/vulkan/anv_private.h | |
parent | eb4564bf93f5c6268171a043491897797dbc108a (diff) |
anv/gem: Add a drm syncobj support
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 5c7b3b4094f..b451fa509a6 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -812,6 +812,10 @@ int anv_gem_set_caching(struct anv_device *device, uint32_t gem_handle, uint32_t int anv_gem_set_domain(struct anv_device *device, uint32_t gem_handle, uint32_t read_domains, uint32_t write_domain); int anv_gem_sync_file_merge(struct anv_device *device, int fd1, int fd2); +uint32_t anv_gem_syncobj_create(struct anv_device *device); +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); VkResult anv_bo_init_new(struct anv_bo *bo, struct anv_device *device, uint64_t size); |