Home
last modified time | relevance | path

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

/external/libdrm/tests/amdgpu/
Damdgpu_test.h217 req.preferred_heap = type; in gpu_mem_alloc()
265 request.preferred_heap = heap; in amdgpu_bo_alloc_wrap()
291 request.preferred_heap = heap; in amdgpu_bo_alloc_and_map()
Dbo_tests.c77 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in suite_bo_tests_init()
254 req.preferred_heap = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_fail_alloc()
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()
422 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_destroy()
Dvcn_tests.c200 req.preferred_heap = domain; in alloc_resource()
Duvd_enc_tests.c206 req.preferred_heap = domain; in alloc_resource()
Dvce_tests.c214 req.preferred_heap = domain; in alloc_resource()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c336 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in radv_amdgpu_winsys_bo_create()
338 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
441 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in radv_amdgpu_winsys_bo_from_fd()
443 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_winsys_bo_from_fd()
/external/libdrm/amdgpu/
Damdgpu.h165 uint32_t preferred_heap; member
217 uint32_t preferred_heap; member
Damdgpu_bo.c58 unsigned heap = alloc_buffer->preferred_heap; in amdgpu_bo_alloc()
158 info->preferred_heap = bo_info.domains; in amdgpu_bo_query_info()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_bo.c403 request.preferred_heap |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_create_bo()
405 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
415 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
1306 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_from_handle()
1308 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_from_handle()
Damdgpu_cs.c282 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()