Home
last modified time | relevance | path

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

123

/Linux-v5.15/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()
133 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_csb()
159 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_cpt()
Damdgpu_object.c131 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
459 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size()
569 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create()
981 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted()
1302 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_bo_get_memory()
1392 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify()
1531 if (domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_bo_get_preferred_domain()
1532 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_domain()
1570 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_bo_print_info()
Damdgpu_dma_buf.c168 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
171 domains |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_dma_buf_map()
506 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
Damdgpu_test.c61 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_do_test_moves()
75 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()
156 r = amdgpu_bo_pin(adev->gart.bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gart_table_vram_pin()
Damdgpu_vcn.c231 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init()
245 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].dpg_sram_bo, in amdgpu_vcn_sw_init()
607 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_create_msg()
641 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_destroy_msg()
926 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_enc_ring_test_ib()
Damdgpu_gem.c350 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_create_ioctl()
839 args->value & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_op_ioctl()
858 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
862 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
Damdgpu_amdkfd_gpuvm.c152 if (domain == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_amdkfd_reserve_mem_limit()
196 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in unreserve_mem_limit()
698 if (adev == bo_adev || (mem->domain == AMDGPU_GEM_DOMAIN_VRAM && in kfd_mem_attach()
1405 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1592 if ((mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM) && in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1910 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
1935 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1943 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1944 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
Dpsp_v11_0_8.c45 AMDGPU_GEM_DOMAIN_VRAM, in psp_v11_0_8_ring_init()
Damdgpu_ttm.c151 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_evict_flags()
1539 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_fw_reserve_vram_init()
1620 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1634 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1727 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
1734 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
1741 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
Dpsp_v10_0.c143 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
Damdgpu_gmc.c55 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_gmc_pdb0_alloc()
70 r = amdgpu_bo_pin(adev->gmc.pdb0_bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gmc_pdb0_alloc()
Damdgpu_amdkfd.c503 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
517 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_uvd.c288 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init()
544 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1()
1089 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_send_msg()
Damdgpu_object.h145 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
Dpsp_v13_0.c231 AMDGPU_GEM_DOMAIN_VRAM, in psp_v13_0_ring_init()
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega12_smumgr.c234 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
248 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
264 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
279 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
294 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
308 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
Dvega10_smumgr.c228 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
243 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
259 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
276 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
291 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
Dvega20_smumgr.c443 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
457 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
471 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
485 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
499 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
513 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
Dsmu10_smumgr.c255 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
271 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
Dsmu7_smumgr.c547 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
562 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
/Linux-v5.15/include/uapi/drm/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c222 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
224 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
226 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
228 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
232 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
236 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dyellow_carp_ppt.c153 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
155 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
157 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()

123