Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c469 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_create()
486 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
490 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
492 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GDS; in radv_amdgpu_winsys_bo_create()
494 request.preferred_heap |= AMDGPU_GEM_DOMAIN_OA; in radv_amdgpu_winsys_bo_create()
750 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_from_fd()
752 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_winsys_bo_from_fd()
827 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_bo_get_flags_from_fd()
829 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_bo_get_flags_from_fd()
831 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GDS) in radv_amdgpu_bo_get_flags_from_fd()
[all …]
/third_party/libdrm/tests/amdgpu/
Dvm_tests.c185 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_vm_unaligned_map()
226 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_mapping_test()
Damdgpu_test.h263 req.preferred_heap = type; in gpu_mem_alloc()
340 request.preferred_heap = heap; in amdgpu_bo_alloc_wrap()
Dcs_tests.c212 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_create()
290 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_decode()
423 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()
Dvcn_tests.c234 req.preferred_heap = domain; in alloc_resource()
Duvd_enc_tests.c206 req.preferred_heap = domain; in alloc_resource()
Dvce_tests.c247 req.preferred_heap = domain; in alloc_resource()
Dbasic_tests.c543 request.preferred_heap = heap; in amdgpu_bo_alloc_and_map_raw()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c511 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_create_bo()
519 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
523 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
525 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GDS; in amdgpu_create_bo()
527 request.preferred_heap |= AMDGPU_GEM_DOMAIN_OA; in amdgpu_create_bo()
534 (request.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_create_bo()
1564 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_from_handle()
1566 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_from_handle()
Damdgpu_cs.c303 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
/third_party/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()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c102 uint32_t preferred_heap; member
323 request.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in has_tmz_support()