/Linux-v5.4/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() 134 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_csb() 167 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_cpt()
|
D | amdgpu_object.c | 133 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain() 395 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size() 497 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_do_create() 892 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted() 1299 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify() 1395 if (domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_bo_get_preferred_pin_domain() 1396 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_pin_domain()
|
D | amdgpu_test.c | 66 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_do_test_moves() 79 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() 154 r = amdgpu_bo_pin(adev->gart.bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gart_table_vram_pin()
|
D | amdgpu_gem.c | 79 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_object_create() 704 if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { in amdgpu_gem_op_ioctl() 723 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl() 727 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl() 807 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_debugfs_gem_bo_info()
|
D | amdgpu_vcn.c | 171 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init() 181 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.dpg_sram_bo, in amdgpu_vcn_sw_init() 468 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_create_msg() 502 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_destroy_msg() 684 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_enc_ring_test_ib()
|
D | amdgpu_psp.c | 268 AMDGPU_GEM_DOMAIN_VRAM, in psp_tmr_init() 325 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_asd_init() 414 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_xgmi_init_shared_buf() 599 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_ras_init_shared_buf() 1131 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw() 1139 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw()
|
D | amdgpu_uvd.c | 259 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init() 495 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1() 1039 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_send_msg() 1130 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_create_msg() 1162 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_destroy_msg()
|
D | amdgpu_amdkfd_gpuvm.c | 139 if (domain == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_amdkfd_reserve_mem_limit() 180 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in unreserve_mem_limit() 317 param.domain = AMDGPU_GEM_DOMAIN_VRAM; in vm_validate_pt_pd_bos() 1092 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1612 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf() 1635 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf() 1636 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
|
D | amdgpu_amdkfd.c | 530 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info() 546 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_object.h | 126 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
|
D | psp_v10_0.c | 109 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
|
D | amdgpu_virt.c | 277 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_virt_alloc_mm_table()
|
D | amdgpu_vce.c | 182 AMDGPU_GEM_DOMAIN_VRAM, &adev->vce.vcpu_bo, in amdgpu_vce_sw_init() 1122 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vce_ring_test_ib()
|
D | psp_v12_0.c | 219 AMDGPU_GEM_DOMAIN_VRAM, in psp_v12_0_ring_init()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | vega12_smumgr.c | 224 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init() 238 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init() 254 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init() 269 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init() 284 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init() 298 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
|
D | vega10_smumgr.c | 200 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init() 215 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init() 231 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init() 248 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init() 263 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
|
D | vega20_smumgr.c | 422 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init() 436 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init() 450 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init() 464 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init() 478 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init() 492 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
|
D | smu10_smumgr.c | 247 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init() 263 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
|
D | smu7_smumgr.c | 557 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init() 572 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
|
D | smu8_smumgr.c | 769 AMDGPU_GEM_DOMAIN_VRAM, in smu8_smu_init() 779 AMDGPU_GEM_DOMAIN_VRAM, in smu8_smu_init()
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/ |
D | renoir_ppt.c | 146 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init() 148 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init() 150 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_tables_init()
|
D | navi10_ppt.c | 523 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init() 525 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init() 527 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init() 529 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init() 531 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init() 534 AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
|
/Linux-v5.4/include/uapi/drm/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|