Lines Matching full:gmc

80 	if (adev->gmc.pdb0_bo)  in gfxhub_v1_2_xcc_init_gart_aperture_regs()
81 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
91 if (adev->gmc.pdb0_bo) { in gfxhub_v1_2_xcc_init_gart_aperture_regs()
94 (u32)(adev->gmc.fb_start >> 12)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
97 (u32)(adev->gmc.fb_start >> 44)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
101 (u32)(adev->gmc.gart_end >> 12)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
104 (u32)(adev->gmc.gart_end >> 44)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
108 (u32)(adev->gmc.gart_start >> 12)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
111 (u32)(adev->gmc.gart_start >> 44)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
115 (u32)(adev->gmc.gart_end >> 12)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
118 (u32)(adev->gmc.gart_end >> 44)); in gfxhub_v1_2_xcc_init_gart_aperture_regs()
134 WREG32_SOC15_RLC(GC, GET_INST(GC, i), regMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v1_2_xcc_init_system_aperture_regs()
135 WREG32_SOC15_RLC(GC, GET_INST(GC, i), regMC_VM_AGP_TOP, adev->gmc.agp_end >> 24); in gfxhub_v1_2_xcc_init_system_aperture_regs()
140 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v1_2_xcc_init_system_aperture_regs()
154 max((adev->gmc.fb_end >> 18) + 0x1, in gfxhub_v1_2_xcc_init_system_aperture_regs()
155 adev->gmc.agp_end >> 18)); in gfxhub_v1_2_xcc_init_system_aperture_regs()
159 max(adev->gmc.fb_end, adev->gmc.agp_end) >> 18); in gfxhub_v1_2_xcc_init_system_aperture_regs()
183 if (adev->gmc.pdb0_bo) { in gfxhub_v1_2_xcc_init_system_aperture_regs()
245 if (adev->gmc.translate_further) { in gfxhub_v1_2_xcc_init_cache_regs()
258 if (adev->gmc.xgmi.connected_to_cpu || adev->gmc.is_app_apu) { in gfxhub_v1_2_xcc_init_cache_regs()
279 adev->gmc.vmid0_page_table_depth); in gfxhub_v1_2_xcc_enable_system_domain()
281 adev->gmc.vmid0_page_table_block_size); in gfxhub_v1_2_xcc_enable_system_domain()
326 if (adev->gmc.translate_further) in gfxhub_v1_2_xcc_setup_vmid_config()
365 !adev->gmc.noretry || in gfxhub_v1_2_xcc_setup_vmid_config()
608 if (max_region || adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_2_get_xgmi_info()
609 adev->gmc.xgmi.num_physical_nodes = max_region + 1; in gfxhub_v1_2_get_xgmi_info()
611 if (adev->gmc.xgmi.num_physical_nodes > max_num_physical_nodes) in gfxhub_v1_2_get_xgmi_info()
614 adev->gmc.xgmi.physical_node_id = in gfxhub_v1_2_get_xgmi_info()
618 if (adev->gmc.xgmi.physical_node_id > max_physical_node_id) in gfxhub_v1_2_get_xgmi_info()
621 adev->gmc.xgmi.node_segment_size = seg_size; in gfxhub_v1_2_get_xgmi_info()