/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 188 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()
|
D | amdgpu_dma_buf.c | 225 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()
|
D | amdgpu_object.c | 151 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()
|
D | amdgpu_gem.c | 80 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()
|
D | amdgpu_test.c | 91 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()
|
D | mes_v10_1.c | 127 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()
|
D | amdgpu_gfx.c | 345 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()
|
D | amdgpu_amdkfd_gpuvm.c | 127 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()
|
D | amdgpu_amdkfd.c | 281 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()
|
D | amdgpu_ih.c | 89 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
|
D | amdgpu_object.h | 128 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
|
D | amdgpu_ib.c | 292 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
|
D | amdgpu_ring.c | 319 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_init()
|
D | amdgpu_display.c | 519 domain |= AMDGPU_GEM_DOMAIN_GTT; in amdgpu_display_supported_domains()
|
D | amdgpu_ucode.c | 555 amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_create_bo()
|
D | gfx_v10_0.c | 1068 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()
|
D | amdgpu_ttm.c | 190 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_evict_flags() 197 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_GTT); in amdgpu_evict_flags()
|
D | amdgpu_psp.c | 1122 AMDGPU_GEM_DOMAIN_GTT, in psp_load_fw()
|
D | amdgpu_device.c | 688 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in amdgpu_device_wb_init()
|
D | gfx_v7_0.c | 3081 AMDGPU_GEM_DOMAIN_GTT, &ring->mqd_obj, in gfx_v7_0_compute_queue_init()
|
D | gfx_v9_0.c | 1763 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in gfx_v9_0_mec_init()
|
/Linux-v5.4/include/uapi/drm/ |
D | amdgpu_drm.h | 99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro 105 AMDGPU_GEM_DOMAIN_GTT | \
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/ |
D | amd_powerplay.c | 150 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in pp_reserve_vram_for_smu()
|
D | amdgpu_smu.c | 1189 memory_pool->domain = AMDGPU_GEM_DOMAIN_GTT; in smu_alloc_memory_pool()
|
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 499 AMDGPU_GEM_DOMAIN_GTT, &compressor->bo_ptr, in amdgpu_dm_fbc_init()
|