Home
last modified time | relevance | path

Searched refs:AMDGPU_GEM_DOMAIN_GTT (Results 1 – 18 of 18) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dbo_tests.c80 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in suite_bo_tests_init()
230 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_memory_alloc()
239 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_memory_alloc()
299 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_bo_find_by_cpu_mapping()
Dvce_tests.c164 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_vce_tests_init()
294 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_create()
494 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
496 alloc_resource(&enc.fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
498 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
500 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
676 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
678 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
680 alloc_resource(&enc.mvb, enc.mvbuf_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
742 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_destroy()
Dvcn_tests.c152 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_vcn_tests_init()
288 alloc_resource(&msg_buf, 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_create()
332 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_decode()
398 alloc_resource(&msg_buf, 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_destroy()
Dcs_tests.c114 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_cs_tests_init()
212 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()
Dbasic_tests.c657 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_separate_ibs()
663 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_separate_ibs()
748 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_shared_ib()
867 r = amdgpu_query_heap_info(device_handle, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
872 AMDGPU_GEM_DOMAIN_GTT, 0, &gtt_max[0]); in amdgpu_bo_eviction_test()
875 AMDGPU_GEM_DOMAIN_GTT, 0, &gtt_max[1]); in amdgpu_bo_eviction_test()
887 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
899 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
1019 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_semaphore_test()
1151 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_compute_nop()
[all …]
Dvm_tests.c117 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_vmid_reserve_test()
226 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_mapping_test()
Ddeadlock_tests.c240 AMDGPU_GEM_DOMAIN_GTT, 0, use_uc_mtype ? AMDGPU_VM_MTYPE_UC : 0, in amdgpu_deadlock_helper()
337 AMDGPU_GEM_DOMAIN_GTT, 0, use_uc_mtype ? AMDGPU_VM_MTYPE_UC : 0, in amdgpu_deadlock_sdma()
425 AMDGPU_GEM_DOMAIN_GTT, 0, 0, in bad_access_helper()
Duvd_enc_tests.c124 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_uvd_enc_tests_init()
250 alloc_resource(&enc.session, 128 * 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_uvd_enc_create()
Dsyncobj_tests.c108 AMDGPU_GEM_DOMAIN_GTT, 0, in syncobj_command_submission_helper()
/third_party/libdrm/include/drm/
Damdgpu_drm.h99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
105 AMDGPU_GEM_DOMAIN_GTT | \
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c486 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()
752 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_winsys_bo_from_fd()
829 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_bo_get_flags_from_fd()
Dradv_amdgpu_winsys.c105 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_GTT, 0, &heap); in radv_amdgpu_winsys_query_value()
/third_party/mesa3d/include/drm-uapi/
Damdgpu_drm.h99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
105 AMDGPU_GEM_DOMAIN_GTT | \
/third_party/libdrm/amdgpu/
Damdgpu_gpu_info.c278 case AMDGPU_GEM_DOMAIN_GTT: in amdgpu_query_heap_info()
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_winsys.c262 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_GTT, 0, &heap); in amdgpu_query_value()
Damdgpu_bo.c519 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
523 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
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/mesa3d/src/amd/common/
Dac_gpu_info.c40 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
522 r = amdgpu_query_heap_info(dev, AMDGPU_GEM_DOMAIN_GTT, 0, &gtt); in ac_query_gpu_info()