diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r300.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r300.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/r300.c b/drivers/gpu/drm/radeon/r300.c index 6435d659cbd1..0e0e094da503 100644 --- a/drivers/gpu/drm/radeon/r300.c +++ b/drivers/gpu/drm/radeon/r300.c | |||
@@ -585,10 +585,8 @@ void r300_vram_info(struct radeon_device *rdev) | |||
585 | } else { | 585 | } else { |
586 | rdev->mc.vram_width = 64; | 586 | rdev->mc.vram_width = 64; |
587 | } | 587 | } |
588 | rdev->mc.vram_size = RREG32(RADEON_CONFIG_MEMSIZE); | ||
589 | 588 | ||
590 | rdev->mc.aper_base = drm_get_resource_start(rdev->ddev, 0); | 589 | r100_vram_init_sizes(rdev); |
591 | rdev->mc.aper_size = drm_get_resource_len(rdev->ddev, 0); | ||
592 | } | 590 | } |
593 | 591 | ||
594 | 592 | ||