Home
last modified time | relevance | path

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

123

/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A 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()
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()
243 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
[all …]
H A Damdgpu_object.c134 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
389 AMDGPU_GEM_DOMAIN_VRAM, bo_ptr, NULL, in amdgpu_bo_create_kernel_at()
481 } else if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size()
593 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_create()
987 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted()
1326 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_bo_get_memory()
1346 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_get_memory()
1351 if (domain != AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_get_memory()
1436 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify()
1582 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_domain()
[all …]
H A Damdgpu_dma_buf.c158 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
161 domains |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_dma_buf_map()
516 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
H A Damdgpu_amdkfd_gpuvm.c852 ((mem->domain == AMDGPU_GEM_DOMAIN_VRAM) || in kfd_mem_attach()
855 if (mem->domain == AMDGPU_GEM_DOMAIN_VRAM) in kfd_mem_attach()
903 mem->domain == AMDGPU_GEM_DOMAIN_VRAM) { in kfd_mem_attach()
1657 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1892 (mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM || in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2312 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
2339 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
2348 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) && !adev->gmc.is_app_apu ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
2349 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
H A Damdgpu_gem.c476 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) {
971 args->value & AMDGPU_GEM_DOMAIN_VRAM) {
990 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM |
994 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM)
H A Damdgpu_rlc.c98 AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gfx_rlc_init_sr()
136 AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gfx_rlc_init_csb()
163 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gfx_rlc_init_cpt()
H A Damdgpu_gmc.c59 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_gmc_pdb0_alloc()
74 r = amdgpu_bo_pin(adev->gmc.pdb0_bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gmc_pdb0_alloc()
868 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gmc_vram_checking()
H A 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()
326 AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_uvd_sw_init()
592 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1()
H A Damdgpu_amdkfd.c524 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
538 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
H A Damdgpu_object.h181 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
H A Damdgpu_gart.c263 AMDGPU_GEM_DOMAIN_VRAM, &adev->gart.bo, in amdgpu_gart_table_vram_alloc()
/openbsd/sys/dev/pci/drm/amd/pm/powerplay/smumgr/
H A 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()
H A Dvega10_smumgr.c232 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
247 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
263 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
280 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
295 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
H A 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()
H A Dsmu10_smumgr.c254 AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT, in smu10_smu_init()
269 AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT, in smu10_smu_init()
H A Dsmu7_smumgr.c550 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
565 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_0_ppt.c490 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
492 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
494 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
496 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
498 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
500 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
503 AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
505 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
507 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_0_tables_init()
H A Dsmu_v13_0_7_ppt.c497 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
500 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
502 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
504 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
506 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
508 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
511 AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
513 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_7_tables_init()
H A 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()
H A Dsmu_v13_0_4_ppt.c156 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
158 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
160 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in smu_v13_0_4_init_smc_tables()
H A Daldebaran_ppt.c233 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in aldebaran_tables_init()
236 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in aldebaran_tables_init()
239 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in aldebaran_tables_init()
242 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in aldebaran_tables_init()
245 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in aldebaran_tables_init()
H A Dyellow_carp_ppt.c157 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
159 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
161 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in yellow_carp_init_smc_tables()
/openbsd/sys/dev/pci/drm/include/uapi/drm/
H A Damdgpu_drm.h103 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
110 AMDGPU_GEM_DOMAIN_VRAM | \
/openbsd/sys/dev/pci/drm/amd/pm/swsmu/smu11/
H A Dnavi10_ppt.c502 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
504 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
506 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
508 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
510 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
512 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
515 AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
517 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
521 dummy_read_1_table->domain = AMDGPU_GEM_DOMAIN_VRAM; in navi10_tables_init()
H A Dvangogh_ppt.c238 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()
244 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
248 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()
252 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in vangogh_tables_init()

123