Home
last modified time | relevance | path

Searched refs:AMDGPU_GEM_DOMAIN_VRAM (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c189 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
190 amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
195 amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
196 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
203 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
209 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
216 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
217 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
224 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
230 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
[all …]
Damdgpu_rlc.c96 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_sr()
134 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_csb()
167 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_cpt()
Damdgpu_object.c133 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
395 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size()
497 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_do_create()
892 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted()
1299 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify()
1395 if (domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_bo_get_preferred_pin_domain()
1396 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_pin_domain()
Damdgpu_test.c66 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_do_test_moves()
79 r = amdgpu_bo_pin(vram_obj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_do_test_moves()
Damdgpu_gart.c124 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_gart_table_vram_alloc()
154 r = amdgpu_bo_pin(adev->gart.bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gart_table_vram_pin()
Damdgpu_gem.c79 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_object_create()
704 if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { in amdgpu_gem_op_ioctl()
723 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
727 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
807 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_debugfs_gem_bo_info()
Damdgpu_vcn.c171 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init()
181 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.dpg_sram_bo, in amdgpu_vcn_sw_init()
468 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_create_msg()
502 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_destroy_msg()
684 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_enc_ring_test_ib()
Damdgpu_psp.c268 AMDGPU_GEM_DOMAIN_VRAM, in psp_tmr_init()
325 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_asd_init()
414 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_xgmi_init_shared_buf()
599 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_ras_init_shared_buf()
1131 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw()
1139 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw()
Damdgpu_uvd.c259 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init()
495 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1()
1039 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_send_msg()
1130 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_create_msg()
1162 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_destroy_msg()
Damdgpu_amdkfd_gpuvm.c139 if (domain == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_amdkfd_reserve_mem_limit()
180 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in unreserve_mem_limit()
317 param.domain = AMDGPU_GEM_DOMAIN_VRAM; in vm_validate_pt_pd_bos()
1092 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1612 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
1635 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1636 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
Damdgpu_amdkfd.c530 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
546 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_object.h126 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
Dpsp_v10_0.c109 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
Damdgpu_virt.c277 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_virt_alloc_mm_table()
Damdgpu_vce.c182 AMDGPU_GEM_DOMAIN_VRAM, &adev->vce.vcpu_bo, in amdgpu_vce_sw_init()
1122 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vce_ring_test_ib()
Dpsp_v12_0.c219 AMDGPU_GEM_DOMAIN_VRAM, in psp_v12_0_ring_init()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Dvega12_smumgr.c224 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
238 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
254 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
269 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
284 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
298 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
Dvega10_smumgr.c200 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
215 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
231 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
248 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
263 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
Dvega20_smumgr.c422 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
436 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
450 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
464 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
478 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
492 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
Dsmu10_smumgr.c247 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
263 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
Dsmu7_smumgr.c557 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
572 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
Dsmu8_smumgr.c769 AMDGPU_GEM_DOMAIN_VRAM, in smu8_smu_init()
779 AMDGPU_GEM_DOMAIN_VRAM, in smu8_smu_init()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Drenoir_ppt.c146 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init()
148 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init()
150 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init()
Dnavi10_ppt.c523 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
525 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
527 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
529 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
531 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
534 AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
/Linux-v5.4/include/uapi/drm/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \

12