diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_agp.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_agp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c index c0681a5556dc..c4457791dff1 100644 --- a/drivers/gpu/drm/radeon/radeon_agp.c +++ b/drivers/gpu/drm/radeon/radeon_agp.c | |||
@@ -237,6 +237,10 @@ int radeon_agp_init(struct radeon_device *rdev) | |||
237 | 237 | ||
238 | rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; | 238 | rdev->mc.agp_base = rdev->ddev->agp->agp_info.aper_base; |
239 | rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; | 239 | rdev->mc.gtt_size = rdev->ddev->agp->agp_info.aper_size << 20; |
240 | rdev->mc.gtt_start = rdev->mc.agp_base; | ||
241 | rdev->mc.gtt_end = rdev->mc.gtt_start + rdev->mc.gtt_size - 1; | ||
242 | dev_info(rdev->dev, "GTT: %lluM 0x%08llX - 0x%08llX\n", | ||
243 | rdev->mc.gtt_size >> 20, rdev->mc.gtt_start, rdev->mc.gtt_end); | ||
240 | 244 | ||
241 | /* workaround some hw issues */ | 245 | /* workaround some hw issues */ |
242 | if (rdev->family < CHIP_R200) { | 246 | if (rdev->family < CHIP_R200) { |