Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c153 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
156 r = amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
166 r = amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
167 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
179 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
191 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
204 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
205 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
218 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
230 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
[all …]
Damdgpu_object.c132 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
459 } else if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size()
569 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create()
956 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted()
1272 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_bo_get_memory()
1365 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify()
1510 if ((domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) && in amdgpu_bo_get_preferred_domain()
1512 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_domain()
1550 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_bo_print_info()
Damdgpu_dma_buf.c153 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
156 domains |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_dma_buf_map()
491 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
Damdgpu_gmc.c58 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_gmc_pdb0_alloc()
73 r = amdgpu_bo_pin(adev->gmc.pdb0_bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gmc_pdb0_alloc()
791 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gmc_vram_checking()
Damdgpu_gem.c344 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_create_ioctl()
837 args->value & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_op_ioctl()
856 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
860 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
Damdgpu_amdkfd_gpuvm.c826 ((mem->domain == AMDGPU_GEM_DOMAIN_VRAM) || in kfd_mem_attach()
829 if (mem->domain == AMDGPU_GEM_DOMAIN_VRAM) in kfd_mem_attach()
877 mem->domain == AMDGPU_GEM_DOMAIN_VRAM) { in kfd_mem_attach()
1663 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1872 if ((mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM) && in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2265 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
2290 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
2298 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
2299 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
Damdgpu_gart.c121 AMDGPU_GEM_DOMAIN_VRAM, &adev->gart.bo, in amdgpu_gart_table_vram_alloc()
Dpsp_v11_0_8.c45 AMDGPU_GEM_DOMAIN_VRAM, in psp_v11_0_8_ring_init()
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_ttm.c147 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_evict_flags()
1561 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_fw_reserve_vram_init()
1642 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1656 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1749 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
1756 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
1763 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
Damdgpu_uvd.c160 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_create_msg_bo_helper()
165 r = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_create_msg_bo_helper()
334 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init()
596 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1()
Dpsp_v10_0.c143 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
Damdgpu_amdkfd.c523 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
537 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
/linux-6.1.9/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.c550 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
565 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c472 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
475 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
477 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
479 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
481 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
483 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
486 AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
488 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
Dsmu_v13_0_0_ppt.c443 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
445 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
447 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
449 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
451 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
453 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
456 AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
458 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
Dsmu_v13_0_4_ppt.c152 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
154 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
156 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
Dsmu_v13_0_5_ppt.c130 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_5_init_smc_tables()
132 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_5_init_smc_tables()
134 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_5_init_smc_tables()
Dyellow_carp_ppt.c149 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
151 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
153 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dvangogh_ppt.c236 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
238 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
240 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
242 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
246 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
250 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()

123