Lines Matching refs:gmc

58 	if (adev->gmc.pdb0_bo)  in gfxhub_v1_0_init_gart_aperture_regs()
59 pt_base = amdgpu_gmc_pd_addr(adev->gmc.pdb0_bo); in gfxhub_v1_0_init_gart_aperture_regs()
68 if (adev->gmc.pdb0_bo) { in gfxhub_v1_0_init_gart_aperture_regs()
70 (u32)(adev->gmc.fb_start >> 12)); in gfxhub_v1_0_init_gart_aperture_regs()
72 (u32)(adev->gmc.fb_start >> 44)); in gfxhub_v1_0_init_gart_aperture_regs()
75 (u32)(adev->gmc.gart_end >> 12)); in gfxhub_v1_0_init_gart_aperture_regs()
77 (u32)(adev->gmc.gart_end >> 44)); in gfxhub_v1_0_init_gart_aperture_regs()
80 (u32)(adev->gmc.gart_start >> 12)); in gfxhub_v1_0_init_gart_aperture_regs()
82 (u32)(adev->gmc.gart_start >> 44)); in gfxhub_v1_0_init_gart_aperture_regs()
85 (u32)(adev->gmc.gart_end >> 12)); in gfxhub_v1_0_init_gart_aperture_regs()
87 (u32)(adev->gmc.gart_end >> 44)); in gfxhub_v1_0_init_gart_aperture_regs()
97 WREG32_SOC15_RLC(GC, 0, mmMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v1_0_init_system_aperture_regs()
98 WREG32_SOC15_RLC(GC, 0, mmMC_VM_AGP_TOP, adev->gmc.agp_end >> 24); in gfxhub_v1_0_init_system_aperture_regs()
103 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v1_0_init_system_aperture_regs()
115 max((adev->gmc.fb_end >> 18) + 0x1, in gfxhub_v1_0_init_system_aperture_regs()
116 adev->gmc.agp_end >> 18)); in gfxhub_v1_0_init_system_aperture_regs()
120 max(adev->gmc.fb_end, adev->gmc.agp_end) >> 18); in gfxhub_v1_0_init_system_aperture_regs()
142 if (adev->gmc.pdb0_bo) { in gfxhub_v1_0_init_system_aperture_regs()
195 if (adev->gmc.translate_further) { in gfxhub_v1_0_init_cache_regs()
207 if (adev->gmc.xgmi.connected_to_cpu) { in gfxhub_v1_0_init_cache_regs()
224 adev->gmc.vmid0_page_table_depth); in gfxhub_v1_0_enable_system_domain()
226 adev->gmc.vmid0_page_table_block_size); in gfxhub_v1_0_enable_system_domain()
258 if (adev->gmc.translate_further) in gfxhub_v1_0_setup_vmid_config()
289 !adev->gmc.noretry); in gfxhub_v1_0_setup_vmid_config()
327 adev->gmc.vram_start >> 24); in gfxhub_v1_0_gart_enable()
329 adev->gmc.vram_end >> 24); in gfxhub_v1_0_gart_enable()