/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 153 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 …]
|
D | amdgpu_object.c | 132 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()
|
D | amdgpu_dma_buf.c | 153 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()
|
D | amdgpu_gmc.c | 58 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()
|
D | amdgpu_gem.c | 344 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()
|
D | amdgpu_amdkfd_gpuvm.c | 826 ((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()
|
D | amdgpu_gart.c | 121 AMDGPU_GEM_DOMAIN_VRAM, &adev->gart.bo, in amdgpu_gart_table_vram_alloc()
|
D | psp_v11_0_8.c | 45 AMDGPU_GEM_DOMAIN_VRAM, in psp_v11_0_8_ring_init()
|
D | amdgpu_rlc.c | 96 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()
|
D | amdgpu_ttm.c | 147 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()
|
D | amdgpu_uvd.c | 160 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()
|
D | psp_v10_0.c | 143 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
|
D | amdgpu_amdkfd.c | 523 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/ |
D | vega12_smumgr.c | 234 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()
|
D | vega10_smumgr.c | 228 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()
|
D | vega20_smumgr.c | 443 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()
|
D | smu10_smumgr.c | 255 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init() 271 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
|
D | smu7_smumgr.c | 550 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/ |
D | smu_v13_0_7_ppt.c | 472 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()
|
D | smu_v13_0_0_ppt.c | 443 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()
|
D | smu_v13_0_4_ppt.c | 152 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()
|
D | smu_v13_0_5_ppt.c | 130 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()
|
D | yellow_carp_ppt.c | 149 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/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | vangogh_ppt.c | 236 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()
|