/linux-6.1.9/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 | 107 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()
|
D | amdgpu_object.c | 150 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 …]
|
D | amdgpu_gem.c | 345 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()
|
D | amdgpu_amdkfd_gpuvm.c | 533 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 …]
|
D | amdgpu_amdkfd.c | 287 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()
|
D | mes_v10_1.c | 481 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()
|
D | amdgpu_ih.c | 88 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ih_ring_init()
|
D | amdgpu_mes.c | 290 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()
|
D | amdgpu_gfx.c | 344 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()
|
D | amdgpu_object.h | 146 return AMDGPU_GEM_DOMAIN_GTT; in amdgpu_mem_type_to_domain()
|
D | amdgpu_ib.c | 312 AMDGPU_GEM_DOMAIN_GTT); in amdgpu_ib_pool_init()
|
D | amdgpu_ring.c | 313 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ring_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() 1829 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ttm_init()
|
D | mes_v11_0.c | 745 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()
|
D | amdgpu_vm_pt.c | 551 bp.domain = AMDGPU_GEM_DOMAIN_GTT; in amdgpu_vm_pt_create()
|
D | amdgpu_display.c | 519 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()
|
D | amdgpu_uvd.c | 150 AMDGPU_GEM_DOMAIN_GTT, in amdgpu_uvd_create_msg_bo_helper()
|
D | amdgpu_ucode.c | 1000 amdgpu_sriov_vf(adev) ? AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT, in amdgpu_ucode_create_bo()
|
D | gfx_v11_0.c | 746 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()
|
D | gfx_v10_0.c | 4307 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/ |
D | amdgpu_drm.h | 99 #define AMDGPU_GEM_DOMAIN_GTT 0x2 macro 105 AMDGPU_GEM_DOMAIN_GTT | \
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_helpers.c | 910 AMDGPU_GEM_DOMAIN_GTT : AMDGPU_GEM_DOMAIN_VRAM; in dm_helpers_allocate_gpu_mem()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 152 PAGE_SIZE, AMDGPU_GEM_DOMAIN_GTT, in pp_reserve_vram_for_smu()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 854 memory_pool->domain = AMDGPU_GEM_DOMAIN_GTT; in smu_alloc_memory_pool()
|