diff options
author | Jason Ekstrand <[email protected]> | 2016-10-31 20:36:26 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-09 11:30:42 -0800 |
commit | 07798c9c3ed29fd162ebc6b6d6beb8448218487f (patch) | |
tree | d86c3b619819ac48d36ae5a403b471060cd71b50 /src/intel/vulkan/anv_private.h | |
parent | 64b140498d51a593006a65149b372fed22b6e32d (diff) |
anv/device: Add an execbuf wrapper
This wrapper ensures that we always update all anv_bo::offset fields based
on the offsets returned by the kernel.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Cc: "13.0" <[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 c71a88463e5..bc09208dec1 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -571,6 +571,10 @@ void anv_device_get_cache_uuid(void *uuid); void anv_device_init_blorp(struct anv_device *device); void anv_device_finish_blorp(struct anv_device *device); +VkResult anv_device_execbuf(struct anv_device *device, + struct drm_i915_gem_execbuffer2 *execbuf, + struct anv_bo **execbuf_bos); + void* anv_gem_mmap(struct anv_device *device, uint32_t gem_handle, uint64_t offset, uint64_t size, uint32_t flags); void anv_gem_munmap(void *p, uint64_t size); |