Searched refs:vmc_addr (Results 1 – 4 of 4) sorted by relevance
/third_party/libdrm/tests/amdgpu/ |
D | cp_dma_tests.c | 96 uint64_t vmc_addr; in allocate_bo_and_va() local 110 &vmc_addr, &va_handle, 0); in allocate_bo_and_va() 114 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, in allocate_bo_and_va() 124 bo->gpu_va = vmc_addr; in allocate_bo_and_va() 131 size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in allocate_bo_and_va() 145 uint64_t vmc_addr; in import_dma_buf_to_bo() local 156 &vmc_addr, &va_handle, 0); in import_dma_buf_to_bo() 161 bo_import_result.alloc_size, vmc_addr, in import_dma_buf_to_bo() 171 bo->gpu_va = vmc_addr; in import_dma_buf_to_bo() 178 bo_import_result.alloc_size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in import_dma_buf_to_bo()
|
D | amdgpu_test.h | 349 uint64_t *vmc_addr, in gpu_mem_alloc() argument 366 if (vmc_addr && va_handle) { in gpu_mem_alloc() 369 size, alignment, 0, vmc_addr, in gpu_mem_alloc() 375 r = amdgpu_bo_va_op(buf_handle, 0, size, *vmc_addr, 0, in gpu_mem_alloc() 397 uint64_t vmc_addr, in gpu_mem_free() argument 406 r = amdgpu_bo_va_op(bo, 0, size, vmc_addr, 0, in gpu_mem_free()
|
D | vm_tests.c | 195 uint64_t vmc_addr; in amdgpu_vm_unaligned_map() local 209 4ULL << 30, 1ULL << 30, 0, &vmc_addr, in amdgpu_vm_unaligned_map() 215 vmc_addr += 1 << 12; in amdgpu_vm_unaligned_map() 217 r = amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, in amdgpu_vm_unaligned_map() 223 amdgpu_bo_va_op(buf_handle, 0, map_size, vmc_addr, 0, in amdgpu_vm_unaligned_map()
|
D | basic_tests.c | 707 uint64_t vmc_addr; in amdgpu_bo_alloc_and_map_raw() local 721 size, alignment, 0, &vmc_addr, in amdgpu_bo_alloc_and_map_raw() 726 r = amdgpu_bo_va_op_raw(dev, buf_handle, 0, ALIGN(size, getpagesize()), vmc_addr, in amdgpu_bo_alloc_and_map_raw() 740 *mc_address = vmc_addr; in amdgpu_bo_alloc_and_map_raw() 749 amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_bo_alloc_and_map_raw()
|