Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c107 return amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_pin()
151 unsigned domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_map()
164 AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_map()
245 if (!reads || !(domain & AMDGPU_GEM_DOMAIN_GTT)) in amdgpu_dma_buf_begin_cpu_access()
254 (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access()
255 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_begin_cpu_access()
341 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
342 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_dma_buf_create_obj()
Damdgpu_object.c150 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_placement_from_domain()
451 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_validate_size()
570 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create()
892 if (domain & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_pin_restricted()
893 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_pin_restricted()
960 } else if (domain == AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_pin_restricted()
1275 case AMDGPU_GEM_DOMAIN_GTT: in amdgpu_bo_get_memory()
1366 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_bo_fault_reserve_notify()
1510 if ((domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) && in amdgpu_bo_get_preferred_domain()
1514 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_get_preferred_domain()
[all …]
Damdgpu_gem.c345 initial_domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_create_ioctl()
411 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
412 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
431 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_gem_userptr_ioctl()
857 AMDGPU_GEM_DOMAIN_GTT | in amdgpu_gem_op_ioctl()
861 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
Damdgpu_amdkfd_gpuvm.c533 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_userptr()
557 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_dmabuf()
625 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in kfd_mem_dmamap_sg_bo()
876 } else if (mem->domain == AMDGPU_GEM_DOMAIN_GTT || in kfd_mem_attach()
1668 domain = alloc_domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1671 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1756 ret = amdgpu_amdkfd_gpuvm_pin_bo(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1761 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1762 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
2120 ret = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_map_gtt_bo_to_gart()
[all …]
Damdgpu_amdkfd.c287 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_alloc_gtt_mem()
310 r = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_alloc_gtt_mem()
524 AMDGPU_GEM_DOMAIN_GTT))) in amdgpu_amdkfd_get_dmabuf_info()
Dmes_v10_1.c481 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_buffer()
514 64 * 1024, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_data_buffer()
695 AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_eop_buf()
987 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v10_1_mqd_sw_init()
Damdgpu_ih.c88 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
Damdgpu_mes.c290 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_create_process()
428 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_add_gang()
587 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_queue_alloc_mqd()
1101 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_mes_ctx_alloc_meta_data()
Damdgpu_gfx.c344 AMDGPU_GEM_DOMAIN_GTT, &kiq->eop_obj, in amdgpu_gfx_kiq_init()
397 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
417 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
Damdgpu_object.h146 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
Damdgpu_ib.c312 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
Damdgpu_ring.c313 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_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()
1829 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ttm_init()
Dmes_v11_0.c745 AMDGPU_GEM_DOMAIN_GTT, in mes_v11_0_allocate_eop_buf()
1064 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in mes_v11_0_mqd_sw_init()
Damdgpu_vm_pt.c551 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create()
Damdgpu_display.c519 domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_display_supported_domains()
1191 if (obj->import_attach && !(domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_display_user_framebuffer_create()
Damdgpu_uvd.c150 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_create_msg_bo_helper()
Damdgpu_ucode.c1000 amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_create_bo()
Dgfx_v11_0.c746 AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_mec_init()
2606 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_pfp_microcode()
2820 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_gfx_load_me_microcode()
3335 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v11_0_cp_compute_load_microcode()
Dgfx_v10_0.c4307 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_mec_init()
4331 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_mec_init()
5278 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_parse_rlc_toc()
5340 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_rlc_backdoor_autoload_buffer_init()
5770 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_pfp_microcode()
5848 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_ce_microcode()
5925 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_me_microcode()
/linux-6.1.9/include/uapi/drm/
Damdgpu_drm.h99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
105 AMDGPU_GEM_DOMAIN_GTT | \
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_helpers.c910 AMDGPU_GEM_DOMAIN_GTT : AMDGPU_GEM_DOMAIN_VRAM; in dm_helpers_allocate_gpu_mem()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c152 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in pp_reserve_vram_for_smu()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c854 memory_pool->domain = AMDGPU_GEM_DOMAIN_GTT; in smu_alloc_memory_pool()

12