Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_benchmark.c187 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
188 amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
193 amdgpu_benchmark_move(adev, 1024*1024, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
194 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
201 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
207 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
214 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
215 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
222 AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_benchmark()
228 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_benchmark()
[all …]
Damdgpu_rlc.c96 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_sr()
133 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_csb()
159 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_gfx_rlc_init_cpt()
Damdgpu_object.c134 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
469 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_validate_size()
571 bo->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_bo_do_create()
970 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_pin_restricted()
1393 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_bo_fault_reserve_notify()
1529 if (domain == (AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_GEM_DOMAIN_GTT)) { in amdgpu_bo_get_preferred_pin_domain()
1530 domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_bo_get_preferred_pin_domain()
Damdgpu_test.c66 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_do_test_moves()
79 r = amdgpu_bo_pin(vram_obj, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_do_test_moves()
Damdgpu_gart.c124 bp.domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_gart_table_vram_alloc()
154 r = amdgpu_bo_pin(adev->gart.bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_gart_table_vram_pin()
Damdgpu_vcn.c193 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].vcpu_bo, in amdgpu_vcn_sw_init()
207 AMDGPU_GEM_DOMAIN_VRAM, &adev->vcn.inst[i].dpg_sram_bo, in amdgpu_vcn_sw_init()
494 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_create_msg()
528 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_dec_get_destroy_msg()
715 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_vcn_enc_ring_test_ib()
Damdgpu_dma_buf.c301 if (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM && in amdgpu_dma_buf_map()
304 domains |= AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_dma_buf_map()
644 (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM)) in amdgpu_dmabuf_is_xgmi_accessible()
Damdgpu_gem.c270 if (initial_domain == AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_gem_create_ioctl()
761 if (robj->prime_shared_count && (args->value & AMDGPU_GEM_DOMAIN_VRAM)) { in amdgpu_gem_op_ioctl()
780 robj->preferred_domains = args->value & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_gem_op_ioctl()
784 if (robj->allowed_domains == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_gem_op_ioctl()
864 case AMDGPU_GEM_DOMAIN_VRAM: in amdgpu_debugfs_gem_bo_info()
Damdgpu_uvd.c287 AMDGPU_GEM_DOMAIN_VRAM, &adev->uvd.inst[j].vcpu_bo, in amdgpu_uvd_sw_init()
534 uint32_t domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_uvd_cs_pass1()
1078 amdgpu_bo_placement_from_domain(bo, AMDGPU_GEM_DOMAIN_VRAM); in amdgpu_uvd_send_msg()
1171 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_create_msg()
1203 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_uvd_get_destroy_msg()
Damdgpu_amdkfd_gpuvm.c139 if (domain == AMDGPU_GEM_DOMAIN_VRAM) in amdgpu_amdkfd_reserve_mem_limit()
184 if (domain == AMDGPU_GEM_DOMAIN_VRAM) { in unreserve_mem_limit()
1152 domain = alloc_domain = AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1338 if ((mem->bo->preferred_domains == AMDGPU_GEM_DOMAIN_VRAM) && in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1667 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_gpuvm_import_dmabuf()
1686 ((bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1694 (*mem)->domain = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_gpuvm_import_dmabuf()
1695 AMDGPU_GEM_DOMAIN_VRAM : AMDGPU_GEM_DOMAIN_GTT; in amdgpu_amdkfd_gpuvm_import_dmabuf()
Dpsp_v10_0.c135 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
Damdgpu_psp.c401 AMDGPU_GEM_DOMAIN_VRAM, in psp_tmr_init()
646 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_xgmi_init_shared_buf()
929 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_ras_init_shared_buf()
1167 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_hdcp_init_shared_buf()
1319 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_dtm_init_shared_buf()
1471 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, in psp_rap_init_shared_buf()
2039 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw()
2047 AMDGPU_GEM_DOMAIN_VRAM, in psp_load_fw()
Damdgpu_amdkfd.c503 if (!(bo->preferred_domains & (AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_amdkfd_get_dmabuf_info()
519 *flags = (bo->preferred_domains & AMDGPU_GEM_DOMAIN_VRAM) ? in amdgpu_amdkfd_get_dmabuf_info()
Damdgpu_ttm.c136 amdgpu_bo_placement_from_domain(abo, AMDGPU_GEM_DOMAIN_VRAM | in amdgpu_evict_flags()
1760 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_fw_reserve_vram_init()
1844 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1858 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_reserve_tmr()
1947 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
1954 AMDGPU_GEM_DOMAIN_VRAM, in amdgpu_ttm_init()
Damdgpu_object.h132 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvega12_smumgr.c235 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
249 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
265 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
280 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
295 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
309 AMDGPU_GEM_DOMAIN_VRAM, in vega12_smu_init()
Dvega10_smumgr.c231 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
246 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
262 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
279 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
294 AMDGPU_GEM_DOMAIN_VRAM, in vega10_smu_init()
Dvega20_smumgr.c445 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
459 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
473 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
487 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
501 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
515 AMDGPU_GEM_DOMAIN_VRAM, in vega20_smu_init()
Dsmu10_smumgr.c256 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
272 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
Dsmu7_smumgr.c547 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
562 AMDGPU_GEM_DOMAIN_VRAM, in smu7_init()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Damdgpu_drm.h46 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
52 AMDGPU_GEM_DOMAIN_VRAM | \
/kernel/linux/linux-5.10/include/uapi/drm/
Damdgpu_drm.h100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
106 AMDGPU_GEM_DOMAIN_VRAM | \
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Damdgpu_drm.h59 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro
63 …GEM_DOMAIN_MASK (AMDGPU_GEM_DOMAIN_CPU | AMDGPU_GEM_DOMAIN_GTT | AMDGPU_GEM_DOMAIN_VRAM | AMDGPU_G…
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c462 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
464 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
467 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
470 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
472 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
474 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
476 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
479 AMDGPU_GEM_DOMAIN_VRAM); in navi10_tables_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/smu12/
Drenoir_ppt.c137 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_init_smc_tables()
139 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_init_smc_tables()
141 PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM); in renoir_init_smc_tables()

123