aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Wang2015-07-09 00:48:25 -0500
committerAlex Deucher2015-08-05 12:47:52 -0500
commit5b01908d1c1f94700e68381afe948045d1ef54a1 (patch)
treeb7a31339458e65e588c284480ef57046ede55b06 /amdgpu/amdgpu_internal.h
parent8097d08ee46ea032c66ce9db0a4db585cd0c796b (diff)
downloadexternal-libdrm-5b01908d1c1f94700e68381afe948045d1ef54a1.tar.gz
external-libdrm-5b01908d1c1f94700e68381afe948045d1ef54a1.tar.xz
external-libdrm-5b01908d1c1f94700e68381afe948045d1ef54a1.zip
amdgpu: add base_preferred parameter to amdgpu_vamgr_find_va
base_preferred parameter is added to amdgpu_vamgr_find_va so UMD can specify preferred va address when allocating. Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index ee1cb61c..8e6fbf40 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -123,8 +123,8 @@ struct amdgpu_bo_va_mgr* amdgpu_vamgr_get_global(struct amdgpu_device *dev);
123 123
124void amdgpu_vamgr_reference(struct amdgpu_bo_va_mgr **dst, struct amdgpu_bo_va_mgr *src); 124void amdgpu_vamgr_reference(struct amdgpu_bo_va_mgr **dst, struct amdgpu_bo_va_mgr *src);
125 125
126uint64_t amdgpu_vamgr_find_va(struct amdgpu_bo_va_mgr *mgr, 126uint64_t amdgpu_vamgr_find_va(struct amdgpu_bo_va_mgr *mgr, uint64_t size,
127 uint64_t size, uint64_t alignment); 127 uint64_t alignment, uint64_t base_preferred);
128 128
129void amdgpu_vamgr_free_va(struct amdgpu_bo_va_mgr *mgr, uint64_t va, 129void amdgpu_vamgr_free_va(struct amdgpu_bo_va_mgr *mgr, uint64_t va,
130 uint64_t size); 130 uint64_t size);