Home
last modified time | relevance | path

Searched refs:amdgpu_bo_va_op (Results 1 – 16 of 16) sorted by relevance

/external/libdrm/tests/amdgpu/
Dvm_tests.c210 r = amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, in amdgpu_vm_unaligned_map()
216 amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, in amdgpu_vm_unaligned_map()
245 r = amdgpu_bo_va_op(buf, 0, size, addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_vm_mapping_test()
249 r = amdgpu_bo_va_op(buf, 0, size, addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_vm_mapping_test()
254 r = amdgpu_bo_va_op(buf, 0, size, addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_vm_mapping_test()
258 r = amdgpu_bo_va_op(buf, 0, size, addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_vm_mapping_test()
Dcs_tests.c227 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_MAP); in amdgpu_cs_uvd_create()
264 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_create()
305 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in amdgpu_cs_uvd_decode()
407 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_decode()
438 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in amdgpu_cs_uvd_destroy()
464 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_destroy()
Damdgpu_test.h311 r = amdgpu_bo_va_op(buf_handle, 0, size, *vmc_addr, 0, in gpu_mem_alloc()
342 r = amdgpu_bo_va_op(bo, 0, size, vmc_addr, 0, in gpu_mem_free()
404 amdgpu_bo_va_op(bo, 0, size, mc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_unmap_and_free()
Dbo_tests.c93 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, va, 0, AMDGPU_VA_OP_MAP); in suite_bo_tests_init()
114 r = amdgpu_bo_va_op(buffer_handle, 0, BUFFER_SIZE, in suite_bo_tests_clean()
Dvcn_tests.c277 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in alloc_resource()
295 r = amdgpu_bo_va_op(vcn_bo->handle, 0, vcn_bo->size, in free_resource()
Duvd_enc_tests.c214 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in alloc_resource()
232 r = amdgpu_bo_va_op(uvd_enc_bo->handle, 0, uvd_enc_bo->size, in free_resource()
Dvce_tests.c257 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in alloc_resource()
275 r = amdgpu_bo_va_op(vce_bo->handle, 0, vce_bo->size, in free_resource()
Dbasic_tests.c609 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_alloc_and_map_raw()
2049 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, bo_mc, 0, AMDGPU_VA_OP_MAP); in amdgpu_userptr_test()
2090 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, bo_mc, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_userptr_test()
/external/igt-gpu-tools/tests/amdgpu/
Damd_cs_nop.c61 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_bo_alloc_and_map()
79 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_alloc_and_map()
91 amdgpu_bo_va_op(bo, 0, size, mc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_unmap_and_free()
Damd_prime.c63 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_bo_alloc_and_map()
81 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_alloc_and_map()
93 amdgpu_bo_va_op(bo, 0, size, mc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_unmap_and_free()
Damd_basic.c219 r = amdgpu_bo_va_op(buf_handle, 0, size, *vmc_addr, 0, AMDGPU_VA_OP_MAP); in gpu_mem_alloc()
232 r = amdgpu_bo_va_op(bo, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in gpu_mem_free()
270 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_bo_alloc_and_map()
288 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_alloc_and_map()
300 amdgpu_bo_va_op(bo, 0, size, mc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_unmap_and_free()
1339 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, bo_mc, 0, AMDGPU_VA_OP_MAP); in amdgpu_userptr_test()
1367 r = amdgpu_bo_va_op(buf_handle, 0, BUFFER_SIZE, bo_mc, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_userptr_test()
/external/libdrm/amdgpu/
Damdgpu-symbols.txt15 amdgpu_bo_va_op
Damdgpu.h1361 int amdgpu_bo_va_op(amdgpu_bo_handle bo,
Damdgpu_bo.c756 drm_public int amdgpu_bo_va_op(amdgpu_bo_handle bo, in amdgpu_bo_va_op() function
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c209 amdgpu_bo_va_op(bo->bo, 0, bo->base.size, bo->va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_destroy()
1461 r = amdgpu_bo_va_op(result.buf_handle, 0, result.alloc_size, va, 0, AMDGPU_VA_OP_MAP); in amdgpu_bo_from_handle()
1621 if (amdgpu_bo_va_op(buf_handle, 0, aligned_size, va, 0, AMDGPU_VA_OP_MAP)) in amdgpu_bo_from_ptr()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c576 if (amdgpu_bo_va_op(buf_handle, 0, size, va, 0, AMDGPU_VA_OP_MAP)) in radv_amdgpu_winsys_bo_from_ptr()