Searched refs:vmc_addr (Results 1 – 1 of 1) sorted by relevance
/external/libdrm/tests/amdgpu/ |
D | amdgpu_test.h | 113 uint64_t *vmc_addr, in gpu_mem_alloc() argument 120 CU_ASSERT_NOT_EQUAL(vmc_addr, NULL); in gpu_mem_alloc() 132 size, alignment, 0, vmc_addr, in gpu_mem_alloc() 136 r = amdgpu_bo_va_op(buf_handle, 0, size, *vmc_addr, 0, AMDGPU_VA_OP_MAP); in gpu_mem_alloc() 144 uint64_t vmc_addr, in gpu_mem_free() argument 149 r = amdgpu_bo_va_op(bo, 0, size, vmc_addr, 0, AMDGPU_VA_OP_UNMAP); in gpu_mem_free() 170 uint64_t vmc_addr; in amdgpu_bo_alloc_and_map() local 184 size, alignment, 0, &vmc_addr, in amdgpu_bo_alloc_and_map() 189 r = amdgpu_bo_va_op(buf_handle, 0, size, vmc_addr, 0, AMDGPU_VA_OP_MAP); in amdgpu_bo_alloc_and_map() 198 *mc_address = vmc_addr; in amdgpu_bo_alloc_and_map() [all …]
|