/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 189 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 …]
|
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_object.c | 131 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()
|
D | amdgpu_dma_buf.c | 168 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()
|
D | amdgpu_test.c | 61 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()
|
D | amdgpu_gart.c | 124 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()
|
D | amdgpu_vcn.c | 231 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()
|
D | amdgpu_gem.c | 350 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()
|
D | amdgpu_amdkfd_gpuvm.c | 152 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()
|
D | psp_v11_0_8.c | 45 AMDGPU_GEM_DOMAIN_VRAM, in psp_v11_0_8_ring_init()
|
D | amdgpu_ttm.c | 151 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()
|
D | psp_v10_0.c | 143 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
|
D | amdgpu_gmc.c | 55 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()
|
D | amdgpu_amdkfd.c | 503 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()
|
D | amdgpu_uvd.c | 288 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()
|
D | amdgpu_object.h | 145 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
|
D | psp_v13_0.c | 231 AMDGPU_GEM_DOMAIN_VRAM, in psp_v13_0_ring_init()
|
/Linux-v5.15/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 | 547 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init() 562 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
|
/Linux-v5.15/include/uapi/drm/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | vangogh_ppt.c | 222 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/ |
D | yellow_carp_ppt.c | 153 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()
|