Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c188 amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark()
191 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark()
202 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark()
210 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark()
223 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_benchmark()
231 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_benchmark()
Damdgpu_dma_buf.c225 r = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_map_attach()
293 if (!reads || !(domain & AMDGPU_GEM_DOMAIN_GTT)) in amdgpu_dma_buf_begin_cpu_access()
301 if (!bo->pin_count && (bo->allowed_domains & AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_dma_buf_begin_cpu_access()
302 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_dma_buf_begin_cpu_access()
390 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_prime_import_sg_table()
391 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_prime_import_sg_table()
Damdgpu_object.c151 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_placement_from_domain()
386 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_validate_size()
498 bo->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_do_create()
572 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_create_shadow()
836 if (domain & AMDGPU_GEM_DOMAIN_GTT) in amdgpu_bo_pin_restricted()
837 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_pin_restricted()
896 } else if (domain == AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_pin_restricted()
1300 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_bo_fault_reserve_notify()
1395 if (domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_bo_get_preferred_pin_domain()
1398 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_bo_get_preferred_pin_domain()
Damdgpu_gem.c80 initial_domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_object_create()
319 bo->preferred_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
320 bo->allowed_domains = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_userptr_ioctl()
340 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_gem_userptr_ioctl()
724 AMDGPU_GEM_DOMAIN_GTT | in amdgpu_gem_op_ioctl()
728 robj->allowed_domains |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_gem_op_ioctl()
810 case AMDGPU_GEM_DOMAIN_GTT: in amdgpu_debugfs_gem_bo_info()
Damdgpu_test.c91 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_do_test_moves()
101 r = amdgpu_bo_pin(gtt_obj[i], AMDGPU_GEM_DOMAIN_GTT); in amdgpu_do_test_moves()
Dmes_v10_1.c127 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_buffer()
159 64 * 1024, AMDGPU_GEM_DOMAIN_GTT, in mes_v10_1_allocate_ucode_data_buffer()
Damdgpu_gfx.c345 AMDGPU_GEM_DOMAIN_GTT, &kiq->eop_obj, in amdgpu_gfx_kiq_init()
398 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
418 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in amdgpu_gfx_mqd_sw_init()
Damdgpu_amdkfd_gpuvm.c127 if (domain == AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_amdkfd_reserve_mem_limit()
171 if (domain == AMDGPU_GEM_DOMAIN_GTT) { in unreserve_mem_limit()
1098 domain = alloc_domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1101 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1109 domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1543 ret = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel()
1613 AMDGPU_GEM_DOMAIN_GTT))) in amdgpu_amdkfd_gpuvm_import_dmabuf()
1636 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
Damdgpu_amdkfd.c281 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_alloc_gtt_mem()
303 r = amdgpu_bo_pin(bo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_amdkfd_alloc_gtt_mem()
531 AMDGPU_GEM_DOMAIN_GTT))) in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_ih.c89 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
Damdgpu_object.h128 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
Damdgpu_ib.c292 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
Damdgpu_ring.c319 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_init()
Damdgpu_display.c519 domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_display_supported_domains()
Damdgpu_ucode.c555 amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_create_bo()
Dgfx_v10_0.c1068 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_mec_init()
1091 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_mec_init()
1960 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_parse_rlc_toc()
2022 AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_rlc_backdoor_autoload_buffer_init()
2438 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_pfp_microcode()
2508 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_ce_microcode()
2577 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v10_0_cp_gfx_load_me_microcode()
Damdgpu_ttm.c190 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_evict_flags()
197 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_evict_flags()
Damdgpu_psp.c1122 AMDGPU_GEM_DOMAIN_GTT, in psp_load_fw()
Damdgpu_device.c688 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_device_wb_init()
Dgfx_v7_0.c3081 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in gfx_v7_0_compute_queue_init()
Dgfx_v9_0.c1763 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v9_0_mec_init()
/Linux-v5.4/include/uapi/drm/
Damdgpu_drm.h99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro
105 AMDGPU_GEM_DOMAIN_GTT | \
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/
Damd_powerplay.c150 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in pp_reserve_vram_for_smu()
Damdgpu_smu.c1189 memory_pool->domain = AMDGPU_GEM_DOMAIN_GTT; in smu_alloc_memory_pool()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c499 AMDGPU_GEM_DOMAIN_GTT, &compressor->bo_ptr, in amdgpu_dm_fbc_init()