amdgpu: add amdgpu_bo_va_op for va map/unmap support v3

Graphics / Mesa 3D Graphics Library / libdrm - Jammy Zhou [amd.com] - 5 August 2015 12:47 UTC

The following interfaces are changed accordingly:- amdgpu_bo_alloc- amdgpu_create_bo_from_user_mem

v2: update the interfaces
v3: remove virtual_mc_base_address from amdgpu_bo

8aeffcc amdgpu: add amdgpu_bo_va_op for va map/unmap support v3
amdgpu/amdgpu.h | 54 ++++++++--------
amdgpu/amdgpu_bo.c | 130 ++++++++++-----------------------------
amdgpu/amdgpu_internal.h | 1 -
tests/amdgpu/amdgpu_test.h | 98 ++++++++++++++++++++++++-----
tests/amdgpu/basic_tests.c | 147 +++++++++++++++++++++++++++-----------------
tests/amdgpu/bo_tests.c | 38 ++++++++++--
tests/amdgpu/cs_tests.c | 104 ++++++++++++++++++++++++-------
tests/amdgpu/vce_tests.c | 62 ++++++++++++++-----
8 files changed, 391 insertions(+), 243 deletions(-)

Upstream: cgit.freedesktop.org


  • Share