/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_benchmark.c | 187 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 …]
|
D | amdgpu_rlc.c | 96 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()
|
D | amdgpu_object.c | 134 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()
|
D | amdgpu_test.c | 66 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()
|
D | amdgpu_gart.c | 124 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()
|
D | amdgpu_vcn.c | 193 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()
|
D | amdgpu_dma_buf.c | 301 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()
|
D | amdgpu_gem.c | 270 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()
|
D | amdgpu_uvd.c | 287 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()
|
D | amdgpu_amdkfd_gpuvm.c | 139 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()
|
D | psp_v10_0.c | 135 AMDGPU_GEM_DOMAIN_VRAM, in psp_v10_0_ring_init()
|
D | amdgpu_psp.c | 401 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()
|
D | amdgpu_amdkfd.c | 503 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()
|
D | amdgpu_ttm.c | 136 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()
|
D | amdgpu_object.h | 132 return AMDGPU_GEM_DOMAIN_VRAM; in amdgpu_mem_type_to_domain()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
D | vega12_smumgr.c | 235 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()
|
D | vega10_smumgr.c | 231 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()
|
D | vega20_smumgr.c | 445 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()
|
D | smu10_smumgr.c | 256 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init() 272 AMDGPU_GEM_DOMAIN_VRAM, in smu10_smu_init()
|
D | smu7_smumgr.c | 547 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/ |
D | amdgpu_drm.h | 46 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 52 AMDGPU_GEM_DOMAIN_VRAM | \
|
/kernel/linux/linux-5.10/include/uapi/drm/ |
D | amdgpu_drm.h | 100 #define AMDGPU_GEM_DOMAIN_VRAM 0x4 macro 106 AMDGPU_GEM_DOMAIN_VRAM | \
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/ |
D | amdgpu_drm.h | 59 #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/ |
D | navi10_ppt.c | 462 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/ |
D | renoir_ppt.c | 137 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()
|