Home
last modified time | relevance | path

Searched refs:agp_start (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c189 return adev->gmc.agp_start + bo->ttm->dma_address[0]; in amdgpu_gmc_agp_addr()
319 mc->agp_start = 0xffffffffffff; in amdgpu_gmc_agp_location()
337 mc->agp_start = (mc->fb_start - size_bf) & sixteen_gb_mask; in amdgpu_gmc_agp_location()
340 mc->agp_start = ALIGN(mc->fb_end + 1, sixteen_gb); in amdgpu_gmc_agp_location()
344 mc->agp_end = mc->agp_start + mc->agp_size - 1; in amdgpu_gmc_agp_location()
346 mc->agp_size >> 20, mc->agp_start, mc->agp_end); in amdgpu_gmc_agp_location()
H A Dgfxhub_v1_0.c97 WREG32_SOC15_RLC(GC, 0, mmMC_VM_AGP_BOT, adev->gmc.agp_start >> 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()
H A Dgfxhub_v2_0.c158 WREG32_SOC15(GC, 0, mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v2_0_init_system_aperture_regs()
163 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v2_0_init_system_aperture_regs()
H A Dgfxhub_v3_0_3.c162 WREG32_SOC15(GC, 0, regGCMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v3_0_3_init_system_aperture_regs()
167 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v3_0_3_init_system_aperture_regs()
H A Dgfxhub_v3_0.c156 WREG32_SOC15(GC, 0, regGCMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v3_0_init_system_aperture_regs()
162 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v3_0_init_system_aperture_regs()
H A Dmmhub_v3_0_2.c167 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v3_0_2_init_system_aperture_regs()
178 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v3_0_2_init_system_aperture_regs()
H A Dmmhub_v3_0_1.c176 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v3_0_1_init_system_aperture_regs()
186 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v3_0_1_init_system_aperture_regs()
H A Dmmhub_v2_3.c157 WREG32_SOC15(MMHUB, 0, mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v2_3_init_system_aperture_regs()
162 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v2_3_init_system_aperture_regs()
H A Dmmhub_v3_0.c182 WREG32_SOC15(MMHUB, 0, regMMMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v3_0_init_system_aperture_regs()
187 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v3_0_init_system_aperture_regs()
H A Dmmhub_v2_0.c226 WREG32_SOC15_RLC(MMHUB, 0, mmMMMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v2_0_init_system_aperture_regs()
231 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v2_0_init_system_aperture_regs()
H A Damdgpu_gmc.h223 u64 agp_start; member
H A Dgfxhub_v1_2.c134 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()
140 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v1_2_xcc_init_system_aperture_regs()
H A Dmmhub_v1_0.c92 WREG32_SOC15(MMHUB, 0, mmMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v1_0_init_system_aperture_regs()
97 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v1_0_init_system_aperture_regs()
H A Dgfxhub_v2_1.c160 WREG32_SOC15(GC, 0, mmGCMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in gfxhub_v2_1_init_system_aperture_regs()
165 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in gfxhub_v2_1_init_system_aperture_regs()
H A Dmmhub_v1_8.c141 adev->gmc.agp_start >> 24); in mmhub_v1_8_init_system_aperture_regs()
147 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v1_8_init_system_aperture_regs()
H A Dmmhub_v1_7.c111 WREG32_SOC15(MMHUB, 0, regMC_VM_AGP_BOT, adev->gmc.agp_start >> 24); in mmhub_v1_7_init_system_aperture_regs()
119 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v1_7_init_system_aperture_regs()
H A Dmmhub_v9_4.c125 adev->gmc.agp_start >> 24); in mmhub_v9_4_init_system_aperture_regs()
132 min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18); in mmhub_v9_4_init_system_aperture_regs()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_ioc32.c318 u32 agp_start; /* Start address in the AGP aperture */ member
334 desc32.flags, desc32.agp_start in compat_drm_addbufs()
344 desc.flags, desc.agp_start in compat_drm_addbufs()
H A Ddrm_bufs.c746 agp_offset = dev->agp->base + request->agp_start; in drm_legacy_addbufs_agp()
1137 agp_offset = request->agp_start; in drm_legacy_addbufs_sg()
/openbmc/linux/tools/include/uapi/drm/
H A Ddrm.h347 unsigned long agp_start; /**< member
/openbmc/linux/include/uapi/drm/
H A Ddrm.h347 unsigned long agp_start; /**< member
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c1250 agp_bot = adev->gmc.agp_start >> 24; in mmhub_read_system_context()
1269 logical_addr_low = min(adev->gmc.fb_start, adev->gmc.agp_start) >> 18; in mmhub_read_system_context()