27 uint32_t syncpt_value;
void gpu_finalize()
Finalize GPU.
uint32_t result_t
Function result.
Definition: types.h:51
result_t gpu_buffer_initialize(gpu_buffer_t *gpu_b, void *addr, size_t size, uint32_t heapmask, uint32_t flags, uint32_t alignment, uint8_t kind)
Initializes a GPU buffer with the args provided.
result_t gpu_buffer_initialize_from_id(gpu_buffer_t *gpu_b, uint32_t id)
Create a structure to access an existing GPU buffer from a given ID.
Buffer to be used for various GPU functions.
Definition: gpu.h:18
result_t gpu_initialize()
Initialize GPU.
result_t gpu_buffer_get_id(gpu_buffer_t *gpu_b, uint32_t *id)
Get a GPU buffer's ID.
result_t gpu_buffer_destroy(gpu_buffer_t *gpu_b, uint64_t *refcount, uint32_t *flags)
Destroys a GPU buffer.
result_t gpu_wait_fence(gpu_fence_t *fence, uint32_t timeout)
Waits on a fence to complete.
uint32_t nvmap_handle
Handle for nvmap gpu memory management driver.
Definition: gpu.h:19