/external/libdrm/tests/amdgpu/ |
D | bo_tests.c | 41 static amdgpu_va_handle va_handle; variable 89 &va, &va_handle, 0); in suite_bo_tests_init() 103 amdgpu_va_range_free(va_handle); in suite_bo_tests_init() 120 r = amdgpu_va_range_free(va_handle); in suite_bo_tests_clean() 203 amdgpu_va_handle va_handle; in amdgpu_memory_alloc() local 212 &bo_mc, &va_handle); in amdgpu_memory_alloc() 214 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_memory_alloc() 222 &bo_mc, &va_handle); in amdgpu_memory_alloc() 224 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_memory_alloc() 231 0, &bo_mc, &va_handle); in amdgpu_memory_alloc() [all …]
|
D | amdgpu_test.h | 286 amdgpu_va_handle *va_handle) in gpu_mem_alloc() argument 302 if (vmc_addr && va_handle) { in gpu_mem_alloc() 306 va_handle, 0); in gpu_mem_alloc() 321 r = amdgpu_va_range_free(*va_handle); in gpu_mem_alloc() 332 amdgpu_va_handle va_handle, in gpu_mem_free() argument 341 if (va_handle) { in gpu_mem_free() 348 r = amdgpu_va_range_free(va_handle); in gpu_mem_free() 387 amdgpu_va_handle *va_handle); 393 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map() argument 396 alloc_flags, 0, bo, cpu, mc_address, va_handle); in amdgpu_bo_alloc_and_map() [all …]
|
D | cs_tests.c | 211 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_create() local 224 &va_handle, 0); in amdgpu_cs_uvd_create() 267 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_create() 280 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_decode() local 302 &va_handle, 0); in amdgpu_cs_uvd_decode() 410 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_decode() 421 amdgpu_va_handle va_handle; in amdgpu_cs_uvd_destroy() local 435 &va_handle, 0); in amdgpu_cs_uvd_destroy() 467 r = amdgpu_va_range_free(va_handle); in amdgpu_cs_uvd_destroy()
|
D | security_tests.c | 370 amdgpu_va_handle va_handle; in amdgpu_security_alloc_buf_test() local 378 &bo_mc, &va_handle); in amdgpu_security_alloc_buf_test() 380 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_security_alloc_buf_test() 387 &bo_mc, &va_handle); in amdgpu_security_alloc_buf_test() 389 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_security_alloc_buf_test() 397 &bo_mc, &va_handle); in amdgpu_security_alloc_buf_test() 399 r = gpu_mem_free(bo, va_handle, bo_mc, 4096); in amdgpu_security_alloc_buf_test()
|
D | deadlock_tests.c | 241 amdgpu_va_handle va_handle; in amdgpu_deadlock_helper() local 252 &ib_result_mc_address, &va_handle); in amdgpu_deadlock_helper() 312 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_deadlock_helper() 332 amdgpu_va_handle va_handle; in amdgpu_deadlock_sdma() local 349 &ib_result_mc_address, &va_handle); in amdgpu_deadlock_sdma() 409 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_deadlock_sdma() 429 amdgpu_va_handle va_handle; in bad_access_helper() local 437 &ib_result_mc_address, &va_handle); in bad_access_helper() 486 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in bad_access_helper()
|
D | vcn_tests.c | 41 amdgpu_va_handle va_handle; member 264 amdgpu_va_handle va_handle; in alloc_resource() local 275 &va_handle, 0); in alloc_resource() 283 vcn_bo->va_handle = va_handle; in alloc_resource() 299 r = amdgpu_va_range_free(vcn_bo->va_handle); in free_resource()
|
D | basic_tests.c | 562 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map_raw() argument 601 *va_handle = handle; in amdgpu_bo_alloc_and_map_raw() 716 amdgpu_va_handle va_handle, va_handle_ce; in amdgpu_command_submission_gfx_separate_ibs() local 725 &ib_result_mc_address, &va_handle); in amdgpu_command_submission_gfx_separate_ibs() 779 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_command_submission_gfx_separate_ibs() 807 amdgpu_va_handle va_handle; in amdgpu_command_submission_gfx_shared_ib() local 816 &ib_result_mc_address, &va_handle); in amdgpu_command_submission_gfx_shared_ib() 863 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_command_submission_gfx_shared_ib() 1067 amdgpu_va_handle va_handle[2]; in amdgpu_semaphore_test() local 1087 &ib_result_mc_address[i], &va_handle[i]); in amdgpu_semaphore_test() [all …]
|
D | vm_tests.c | 105 amdgpu_va_handle va_handle; in amdgpu_vmid_reserve_test() local 127 &ib_result_mc_address, &va_handle); in amdgpu_vmid_reserve_test() 169 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amdgpu_vmid_reserve_test()
|
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 | syncobj_tests.c | 98 amdgpu_va_handle va_handle; in syncobj_command_submission_helper() local 110 &ib_result_mc_address, &va_handle); in syncobj_command_submission_helper() 167 r = amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in syncobj_command_submission_helper()
|
D | vce_tests.c | 44 amdgpu_va_handle va_handle; member 244 amdgpu_va_handle va_handle; in alloc_resource() local 255 &va_handle, 0); in alloc_resource() 263 vce_bo->va_handle = va_handle; in alloc_resource() 279 r = amdgpu_va_range_free(vce_bo->va_handle); in free_resource()
|
/external/igt-gpu-tools/tests/amdgpu/ |
D | amd_basic.c | 199 amdgpu_va_handle *va_handle) in gpu_mem_alloc() argument 216 va_handle, 0); in gpu_mem_alloc() 226 amdgpu_va_handle va_handle, in gpu_mem_free() argument 235 r = amdgpu_va_range_free(va_handle); in gpu_mem_free() 246 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map() argument 280 *va_handle = handle; in amdgpu_bo_alloc_and_map() 296 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free() argument 301 amdgpu_va_range_free(va_handle); in amdgpu_bo_unmap_and_free() 317 amdgpu_va_handle va_handle; in amdgpu_memory_alloc() local 325 &bo_mc, &va_handle); in amdgpu_memory_alloc() [all …]
|
D | amd_cs_nop.c | 37 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map() argument 71 *va_handle = handle; in amdgpu_bo_alloc_and_map() 87 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free() argument 92 amdgpu_va_range_free(va_handle); in amdgpu_bo_unmap_and_free() 133 amdgpu_va_handle va_handle; in nop_cs() local 138 &ib_result_mc_address, &va_handle); in nop_cs() 190 amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in nop_cs()
|
D | amd_prime.c | 39 amdgpu_va_handle *va_handle) in amdgpu_bo_alloc_and_map() argument 73 *va_handle = handle; in amdgpu_bo_alloc_and_map() 89 amdgpu_bo_unmap_and_free(amdgpu_bo_handle bo, amdgpu_va_handle va_handle, in amdgpu_bo_unmap_and_free() argument 94 amdgpu_va_range_free(va_handle); in amdgpu_bo_unmap_and_free() 227 amdgpu_va_handle va_handle; in i915_to_amd() local 241 &ib_result_mc_address, &va_handle); in i915_to_amd() 279 amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in i915_to_amd() 305 amdgpu_va_handle va_handle; in amd_to_i915() local 320 &ib_result_mc_address, &va_handle); in amd_to_i915() 392 amdgpu_bo_unmap_and_free(ib_result_handle, va_handle, in amd_to_i915()
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_bo.c | 325 amdgpu_va_range_free(bo->va_handle); in radv_amdgpu_winsys_bo_destroy() 355 amdgpu_va_handle va_handle; in radv_amdgpu_winsys_bo_create() local 367 size, virt_alignment, 0, &va, &va_handle, in radv_amdgpu_winsys_bo_create() 374 bo->va_handle = va_handle; in radv_amdgpu_winsys_bo_create() 497 amdgpu_va_range_free(va_handle); in radv_amdgpu_winsys_bo_create() 555 amdgpu_va_handle va_handle; in radv_amdgpu_winsys_bo_from_ptr() local 572 size, vm_alignment, 0, &va, &va_handle, in radv_amdgpu_winsys_bo_from_ptr() 581 bo->va_handle = va_handle; in radv_amdgpu_winsys_bo_from_ptr() 599 amdgpu_va_range_free(va_handle); in radv_amdgpu_winsys_bo_from_ptr() 617 amdgpu_va_handle va_handle; in radv_amdgpu_winsys_bo_from_fd() local [all …]
|
D | radv_amdgpu_bo.h | 44 amdgpu_va_handle va_handle; member
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.c | 210 amdgpu_va_range_free(bo->u.real.va_handle); in amdgpu_bo_destroy() 473 amdgpu_va_handle va_handle = NULL; in amdgpu_create_bo() local 550 0, &va, &va_handle, in amdgpu_create_bo() 580 bo->u.real.va_handle = va_handle; in amdgpu_create_bo() 597 amdgpu_va_range_free(va_handle); in amdgpu_create_bo() 1034 amdgpu_va_range_free(bo->u.sparse.va_handle); in amdgpu_bo_sparse_destroy() 1090 0, &bo->va, &bo->u.sparse.va_handle, in amdgpu_bo_sparse_create() 1103 amdgpu_va_range_free(bo->u.sparse.va_handle); in amdgpu_bo_sparse_create() 1405 amdgpu_va_handle va_handle = NULL; in amdgpu_bo_from_handle() local 1453 0, &va, &va_handle, AMDGPU_VA_RANGE_HIGH); in amdgpu_bo_from_handle() [all …]
|
D | amdgpu_bo.h | 64 amdgpu_va_handle va_handle; member 77 amdgpu_va_handle va_handle; member
|