Home
last modified time | relevance | path

Searched refs:preferred_heap (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c402 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_create()
411 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
415 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
417 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GDS; in radv_amdgpu_winsys_bo_create()
419 request.preferred_heap |= AMDGPU_GEM_DOMAIN_OA; in radv_amdgpu_winsys_bo_create()
650 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_from_fd()
652 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_winsys_bo_from_fd()
728 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_bo_get_flags_from_fd()
730 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_bo_get_flags_from_fd()
732 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GDS) in radv_amdgpu_bo_get_flags_from_fd()
[all …]
/external/libdrm/tests/amdgpu/
Dvm_tests.c193 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_vm_unaligned_map()
234 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_mapping_test()
Dcs_tests.c216 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_create()
294 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_decode()
427 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_destroy()
Dbo_tests.c80 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in suite_bo_tests_init()
277 req.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_fail_alloc()
Damdgpu_test.h294 req.preferred_heap = type; in gpu_mem_alloc()
371 request.preferred_heap = heap; in amdgpu_bo_alloc_wrap()
Dvcn_tests.c269 req.preferred_heap = domain; in alloc_resource()
Duvd_enc_tests.c206 req.preferred_heap = domain; in alloc_resource()
Dvce_tests.c249 req.preferred_heap = domain; in alloc_resource()
Dbasic_tests.c572 request.preferred_heap = heap; in amdgpu_bo_alloc_and_map_raw()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c496 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_create_bo()
504 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
508 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
510 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GDS; in amdgpu_create_bo()
512 request.preferred_heap |= AMDGPU_GEM_DOMAIN_OA; in amdgpu_create_bo()
519 (request.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_create_bo()
1465 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_from_handle()
1467 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_from_handle()
Damdgpu_cs.c305 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
/external/libdrm/amdgpu/
Damdgpu.h171 uint32_t preferred_heap; member
223 uint32_t preferred_heap; member
Damdgpu_bo.c90 args.in.domains = alloc_buffer->preferred_heap; in amdgpu_bo_alloc()
172 info->preferred_heap = bo_info.domains; in amdgpu_bo_query_info()
/external/igt-gpu-tools/tests/amdgpu/
Damd_prime.c44 .preferred_heap = heap, in amdgpu_bo_alloc_and_map()
401 .preferred_heap = AMDGPU_GEM_DOMAIN_GTT, in shrink()
Damd_cs_nop.c42 .preferred_heap = heap, in amdgpu_bo_alloc_and_map()
Damd_basic.c204 .preferred_heap = type, in gpu_mem_alloc()
251 .preferred_heap = heap, in amdgpu_bo_alloc_and_map()
/external/mesa3d/src/amd/common/
Dac_gpu_info.c168 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in has_tmz_support()