Home
last modified time | relevance | path

Searched refs:AMDGPU_GEM_DOMAIN_GTT (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c152 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()
Damdgpu_dma_buf.c108 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()
Damdgpu_object.c169 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 …]
Damdgpu_gart.c177 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()
Damdgpu_amdkfd_gpuvm.c542 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 …]
Damdgpu_gem.c349 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()
Damdgpu_amdkfd.c278 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()
Damdgpu_rlc.c99 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()
Dmes_v10_1.c398 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()
Dmes_v11_0.c494 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()
Damdgpu_ih.c88 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
Damdgpu_mes.c235 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()
Damdgpu_object.h176 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
Damdgpu_vm_pt.c521 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create()
560 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create()
Damdgpu_ib.c340 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
Damdgpu_gfx.c360 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()
Damdgpu_psp.c67 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()
Dgfx_v11_0.c740 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 …]
Damdgpu_uvd.c150 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_create_msg_bo_helper()
327 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_sw_init()
Damdgpu_ring.c341 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_init()
Damdgpu_vcn.c191 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_vcn_sw_init()
216 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_vcn_sw_init()
Damdgpu_ttm.c148 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()
Damdgpu_display.c575 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/
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()
/linux-6.6.21/include/uapi/drm/
Damdgpu_drm.h102 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
109 AMDGPU_GEM_DOMAIN_GTT | \

12