aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'amdgpu/amdgpu.h')
-rw-r--r--amdgpu/amdgpu.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index ecc975f1..597fc2ba 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -1489,6 +1489,24 @@ void amdgpu_cs_chunk_fence_to_dep(struct amdgpu_cs_fence *fence,
1489void amdgpu_cs_chunk_fence_info_to_data(struct amdgpu_cs_fence_info *fence_info, 1489void amdgpu_cs_chunk_fence_info_to_data(struct amdgpu_cs_fence_info *fence_info,
1490 struct drm_amdgpu_cs_chunk_data *data); 1490 struct drm_amdgpu_cs_chunk_data *data);
1491 1491
1492/**
1493 * Reserve VMID
1494 * \param context - \c [in] GPU Context
1495 * \param flags - \c [in] TBD
1496 *
1497 * \return 0 on success otherwise POSIX Error code
1498*/
1499int amdgpu_vm_reserve_vmid(amdgpu_context_handle context, uint32_t flags);
1500
1501/**
1502 * Free reserved VMID
1503 * \param context - \c [in] GPU Context
1504 * \param flags - \c [in] TBD
1505 *
1506 * \return 0 on success otherwise POSIX Error code
1507*/
1508int amdgpu_vm_unreserve_vmid(amdgpu_context_handle context, uint32_t flags);
1509
1492#ifdef __cplusplus 1510#ifdef __cplusplus
1493} 1511}
1494#endif 1512#endif