/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 152 r = amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark() 157 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark() 178 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark() 192 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark() 217 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark() 231 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark()
|
D | amdgpu_dma_buf.c | 108 return amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_pin() 152 unsigned int domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_map() 165 AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_map() 246 if (!reads || !(domain & AMDGPU_GEM_DOMAIN_GTT)) in amdgpu_dma_buf_begin_cpu_access() 255 (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access() 256 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_begin_cpu_access() 344 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj() 345 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
|
D | amdgpu_object.c | 169 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_placement_from_domain() 472 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_validate_size() 592 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create() 918 if (domain & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_pin_restricted() 919 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_pin_restricted() 986 } else if (domain == AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_pin_restricted() 1297 case AMDGPU_GEM_DOMAIN_GTT: in amdgpu_bo_get_memory() 1316 } else if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_get_memory() 1400 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_bo_fault_reserve_notify() 1543 if ((domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) && in amdgpu_bo_get_preferred_domain() [all …]
|
D | amdgpu_gart.c | 177 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gart_table_ram_alloc() 178 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gart_table_ram_alloc() 186 ret = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_gart_table_ram_alloc()
|
D | amdgpu_amdkfd_gpuvm.c | 542 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_userptr() 572 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_dmabuf() 640 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_sg_bo() 898 } else if (mem->domain == AMDGPU_GEM_DOMAIN_GTT || in kfd_mem_attach() 1656 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1657 alloc_domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1667 domain = alloc_domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1670 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1764 ret = amdgpu_amdkfd_gpuvm_pin_bo(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1769 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() [all …]
|
D | amdgpu_gem.c | 349 initial_domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_create_ioctl() 416 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl() 417 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl() 436 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_gem_userptr_ioctl() 860 AMDGPU_GEM_DOMAIN_GTT | in amdgpu_gem_op_ioctl() 864 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
|
D | amdgpu_amdkfd.c | 278 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_alloc_gtt_mem() 301 r = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_alloc_gtt_mem() 520 AMDGPU_GEM_DOMAIN_GTT))) in amdgpu_amdkfd_get_dmabuf_info()
|
D | amdgpu_rlc.c | 99 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_gfx_rlc_init_sr() 137 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_gfx_rlc_init_csb() 164 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_gfx_rlc_init_cpt()
|
D | mes_v10_1.c | 398 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_buffer() 431 64 * 1024, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_data_buffer() 612 AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_eop_buf() 902 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v10_1_mqd_sw_init()
|
D | mes_v11_0.c | 494 AMDGPU_GEM_DOMAIN_GTT, in mes_v11_0_allocate_ucode_buffer() 529 AMDGPU_GEM_DOMAIN_GTT, in mes_v11_0_allocate_ucode_data_buffer() 691 AMDGPU_GEM_DOMAIN_GTT, in mes_v11_0_allocate_eop_buf() 1008 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v11_0_mqd_sw_init()
|
D | amdgpu_ih.c | 88 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
|
D | amdgpu_mes.c | 235 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_create_process() 359 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_add_gang() 518 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_queue_alloc_mqd() 1118 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_ctx_alloc_meta_data()
|
D | amdgpu_object.h | 176 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
|
D | amdgpu_vm_pt.c | 521 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create() 560 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create()
|
D | amdgpu_ib.c | 340 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
|
D | amdgpu_gfx.c | 360 AMDGPU_GEM_DOMAIN_GTT, &kiq->eop_obj, in amdgpu_gfx_kiq_init() 385 u32 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gfx_mqd_sw_init() 402 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_gfx_mqd_sw_init()
|
D | amdgpu_psp.c | 67 AMDGPU_GEM_DOMAIN_GTT, in psp_ring_init() 470 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in psp_sw_init() 479 AMDGPU_GEM_DOMAIN_GTT, in psp_sw_init() 488 AMDGPU_GEM_DOMAIN_GTT, in psp_sw_init() 821 AMDGPU_GEM_DOMAIN_GTT, in psp_tmr_init() 1148 AMDGPU_GEM_DOMAIN_GTT, in psp_ta_init_shared_buf() 3541 AMDGPU_GEM_DOMAIN_GTT, in psp_usbc_pd_fw_sysfs_write()
|
D | gfx_v11_0.c | 740 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_mec_init() 1016 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_rlc_autoload_buffer_init() 2676 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_pfp_microcode() 2731 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2744 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() 2894 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_me_microcode() 2949 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 2962 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_me_microcode_rs64() 3405 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_compute_load_microcode() 3462 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_compute_load_microcode_rs64() [all …]
|
D | amdgpu_uvd.c | 150 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_create_msg_bo_helper() 327 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_sw_init()
|
D | amdgpu_ring.c | 341 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_init()
|
D | amdgpu_vcn.c | 191 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_vcn_sw_init() 216 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_vcn_sw_init()
|
D | amdgpu_ttm.c | 148 AMDGPU_GEM_DOMAIN_GTT | in amdgpu_evict_flags() 156 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_GTT | in amdgpu_evict_flags() 1981 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ttm_init()
|
D | amdgpu_display.c | 575 domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_display_supported_domains() 1253 if (obj->import_attach && !(domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_display_user_framebuffer_create()
|
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | smu10_smumgr.c | 254 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()
|
/linux-6.6.21/include/uapi/drm/ |
D | amdgpu_drm.h | 102 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro 109 AMDGPU_GEM_DOMAIN_GTT | \
|