/external/libdrm/tests/amdgpu/ |
D | bo_tests.c | 40 static amdgpu_va_handle va_handle; variable 86 &va, &va_handle, 0); in suite_bo_tests_init() 100 amdgpu_va_range_free(va_handle); in suite_bo_tests_init() 117 r = amdgpu_va_range_free(va_handle); in suite_bo_tests_clean() 200 amdgpu_va_handle va_handle; in amdgpu_memory_alloc() local 209 &bo_mc, &va_handle); in amdgpu_memory_alloc() 211 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_memory_alloc() 219 &bo_mc, &va_handle); in amdgpu_memory_alloc() 221 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_memory_alloc() 228 0, &bo_mc, &va_handle); in amdgpu_memory_alloc() [all …]
|
D | amdgpu_test.h | 207 amdgpu_va_handle *va_handle) in gpu_mem_alloc() argument 226 va_handle, 0); in gpu_mem_alloc() 236 amdgpu_va_handle va_handle, in gpu_mem_free() argument 245 r = amdgpu_va_range_free(va_handle); in gpu_mem_free() 281 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map() argument 315 *va_handle = handle; in amdgpu_bo_alloc_and_map() 331 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free() argument 336 amdgpu_va_range_free(va_handle); in amdgpu_bo_unmap_and_free()
|
D | basic_tests.c | 350 amdgpu_va_handle va_handle, va_handle_ce; in amdgpu_command_submission_gfx_separate_ibs() local 359 &ib_result_mc_address, &va_handle); in amdgpu_command_submission_gfx_separate_ibs() 413 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_command_submission_gfx_separate_ibs() 441 amdgpu_va_handle va_handle; in amdgpu_command_submission_gfx_shared_ib() local 450 &ib_result_mc_address, &va_handle); in amdgpu_command_submission_gfx_shared_ib() 497 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_command_submission_gfx_shared_ib() 701 amdgpu_va_handle va_handle[2]; in amdgpu_semaphore_test() local 721 &ib_result_mc_address[i], &va_handle[i]); in amdgpu_semaphore_test() 812 r = amdgpu_bo_unmap_and_free(ib_result_handle[i], va_handle[i], in amdgpu_semaphore_test() 840 amdgpu_va_handle va_handle; in amdgpu_command_submission_compute_nop() local [all …]
|
D | cs_tests.c | 207 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_create() local 220 &va_handle, 0); in amdgpu_cs_uvd_create() 263 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_create() 276 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_decode() local 298 &va_handle, 0); in amdgpu_cs_uvd_decode() 405 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_decode() 416 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_destroy() local 430 &va_handle, 0); in amdgpu_cs_uvd_destroy() 462 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_destroy()
|
D | vcn_tests.c | 41 amdgpu_va_handle va_handle; member 195 amdgpu_va_handle va_handle; in alloc_resource() local 206 &va_handle, 0); in alloc_resource() 214 vcn_bo->va_handle = va_handle; in alloc_resource() 230 r = amdgpu_va_range_free(vcn_bo->va_handle); in free_resource()
|
D | vm_tests.c | 102 amdgpu_va_handle va_handle; in amdgpu_vmid_reserve_test() local 116 &ib_result_mc_address, &va_handle); in amdgpu_vmid_reserve_test() 158 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_vmid_reserve_test()
|
D | deadlock_tests.c | 177 amdgpu_va_handle va_handle; in amdgpu_deadlock_helper() local 188 &ib_result_mc_address, &va_handle); in amdgpu_deadlock_helper() 249 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_deadlock_helper()
|
D | uvd_enc_tests.c | 42 amdgpu_va_handle va_handle; member 201 amdgpu_va_handle va_handle; in alloc_resource() local 212 &va_handle, 0); in alloc_resource() 220 uvd_enc_bo->va_handle = va_handle; in alloc_resource() 236 r = amdgpu_va_range_free(uvd_enc_bo->va_handle); in free_resource()
|
D | vce_tests.c | 43 amdgpu_va_handle va_handle; member 209 amdgpu_va_handle va_handle; in alloc_resource() local 220 &va_handle, 0); in alloc_resource() 228 vce_bo->va_handle = va_handle; in alloc_resource() 244 r = amdgpu_va_range_free(vce_bo->va_handle); in free_resource()
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 271 amdgpu_va_range_free(bo->va_handle); in radv_amdgpu_winsys_bo_destroy() 299 amdgpu_va_handle va_handle; in radv_amdgpu_winsys_bo_create() local 307 size, alignment, 0, &va, &va_handle, 0); in radv_amdgpu_winsys_bo_create() 312 bo->va_handle = va_handle; in radv_amdgpu_winsys_bo_create() 379 amdgpu_va_range_free(va_handle); in radv_amdgpu_winsys_bo_create() 413 amdgpu_va_handle va_handle; in radv_amdgpu_winsys_bo_from_fd() local 432 result.alloc_size, 1 << 20, 0, &va, &va_handle, 0); in radv_amdgpu_winsys_bo_from_fd() 448 bo->va_handle = va_handle; in radv_amdgpu_winsys_bo_from_fd() 457 amdgpu_va_range_free(va_handle); in radv_amdgpu_winsys_bo_from_fd()
|
D | radv_amdgpu_bo.h | 44 amdgpu_va_handle va_handle; member
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 178 amdgpu_va_range_free(bo->u.real.va_handle); in amdgpu_bo_destroy() 385 amdgpu_va_handle va_handle; in amdgpu_create_bo() local 439 size + va_gap_size, alignment, 0, &va, &va_handle, 0); in amdgpu_create_bo() 462 bo->u.real.va_handle = va_handle; in amdgpu_create_bo() 477 amdgpu_va_range_free(va_handle); in amdgpu_create_bo() 841 amdgpu_va_range_free(bo->u.sparse.va_handle); in amdgpu_bo_sparse_destroy() 897 0, &bo->va, &bo->u.sparse.va_handle, 0); in amdgpu_bo_sparse_create() 909 amdgpu_va_range_free(bo->u.sparse.va_handle); in amdgpu_bo_sparse_create() 1266 amdgpu_va_handle va_handle; in amdgpu_bo_from_handle() local 1298 result.alloc_size, 1 << 20, 0, &va, &va_handle, 0); in amdgpu_bo_from_handle() [all …]
|
D | amdgpu_bo.h | 64 amdgpu_va_handle va_handle; member 76 amdgpu_va_handle va_handle; member
|