Home
last modified time | relevance | path

Searched refs:AMDGPU_GEM_DOMAIN_GTT (Results 1 – 23 of 23) 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()
Dcp_dma_tests.c405 amdgpu_cp_dma(AMDGPU_GEM_DOMAIN_GTT, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cp_dma_host_to_vram()
409 amdgpu_cp_dma(AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cp_dma_vram_to_host()
417 amdgpu_cp_dma_p2p(AMDGPU_GEM_DOMAIN_GTT, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_cp_dma_p2p_host_to_vram()
421 amdgpu_cp_dma_p2p(AMDGPU_GEM_DOMAIN_VRAM, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cp_dma_p2p_vram_to_host()
439 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_cp_dma_tests_init()
Dvce_tests.c166 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_vce_tests_init()
296 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_create()
496 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
498 alloc_resource(&enc.fb[1], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
500 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
502 alloc_resource(&enc.bs[1], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode()
678 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
680 alloc_resource(&enc.bs[0], bs_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
682 alloc_resource(&enc.mvb, enc.mvbuf_size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_encode_mv()
744 alloc_resource(&enc.fb[0], 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vce_destroy()
Dvcn_tests.c163 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_vcn_tests_init()
299 alloc_resource(&msg_buf, 4096, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_create()
343 alloc_resource(&dec_buf, size, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_decode()
409 alloc_resource(&msg_buf, 1024, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_cs_vcn_dec_destroy()
Dcs_tests.c117 AMDGPU_GEM_DOMAIN_GTT, 0, in suite_cs_tests_init()
215 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_create()
293 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_decode()
426 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_cs_uvd_destroy()
Dsecurity_tests.c332 res = amdgpu_bo_move(&sb_ctx, bob.bo, AMDGPU_GEM_DOMAIN_GTT, 0); in amdgpu_secure_bounce()
385 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_security_alloc_buf_test()
394 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_security_alloc_buf_test()
Dhotunplug_tests.c202 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_nop_cs()
314 .preferred_heap = AMDGPU_GEM_DOMAIN_GTT, in amdgpu_hotunplug_with_exported_bo()
374 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_hotunplug_with_exported_fence()
Damdgpu_stress.c349 r = alloc_bo(AMDGPU_GEM_DOMAIN_GTT, 2ULL * 1024 * 1024); in main()
368 domain = AMDGPU_GEM_DOMAIN_GTT; in main()
370 domain = AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT; in main()
Dbasic_tests.c865 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_separate_ibs()
871 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_separate_ibs()
956 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_gfx_shared_ib()
1075 r = amdgpu_query_heap_info(device_handle, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
1080 AMDGPU_GEM_DOMAIN_GTT, 0, &gtt_max[0]); in amdgpu_bo_eviction_test()
1083 AMDGPU_GEM_DOMAIN_GTT, 0, &gtt_max[1]); in amdgpu_bo_eviction_test()
1095 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
1107 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_bo_eviction_test()
1235 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_semaphore_test()
1367 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_command_submission_compute_nop()
[all …]
Dvm_tests.c132 AMDGPU_GEM_DOMAIN_GTT, 0, in amdgpu_vmid_reserve_test()
241 req.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_mapping_test()
Ddeadlock_tests.c258 AMDGPU_GEM_DOMAIN_GTT, 0, use_uc_mtype ? AMDGPU_VM_MTYPE_UC : 0, in amdgpu_deadlock_helper()
355 AMDGPU_GEM_DOMAIN_GTT, 0, use_uc_mtype ? AMDGPU_VM_MTYPE_UC : 0, in amdgpu_deadlock_sdma()
443 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.c124 AMDGPU_GEM_DOMAIN_GTT, 0, in syncobj_command_submission_helper()
Djpeg_tests.c208 AMDGPU_GEM_DOMAIN_GTT, 0, &ib_handle, in suite_jpeg_tests_init()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c469 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
473 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in radv_amdgpu_winsys_bo_create()
732 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_winsys_bo_from_fd()
806 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in radv_amdgpu_bo_get_flags_from_fd()
Dradv_amdgpu_winsys.c106 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_GTT, 0, &heap); in radv_amdgpu_winsys_query_value()
/third_party/libdrm/include/drm/
Damdgpu_drm.h99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
105 AMDGPU_GEM_DOMAIN_GTT | \
/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.c272 amdgpu_query_heap_info(ws->dev, AMDGPU_GEM_DOMAIN_GTT, 0, &heap); in amdgpu_query_value()
Damdgpu_bo.c516 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
520 request.preferred_heap |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_create_bo()
1535 if (info.preferred_heap & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_from_handle()
Damdgpu_cs.c317 alloc_buffer.preferred_heap = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_ctx_create()
/third_party/mesa3d/src/amd/common/
Dac_gpu_info.c51 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro