diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-22 17:56:26 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-22 18:23:23 -0500 |
commit | 0ef0c1f7349e782f6c79cb7e4bf8a4c3ce3371c6 (patch) | |
tree | da4bacbd97cd8e704619adaa08c6929c53dc2d07 /drivers/gpu/drm/radeon/evergreen.c | |
parent | 4339c442c0736db42329b68602308e95bcc75a30 (diff) |
drm/radeon/kms: move r7xx/evergreen to its own vram_gtt setup function
MC_VM_FB_LOCATION is at a different offset between r6xx and r7xx/evergreen.
The location is needed for vram setup on fusion chips.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 728358e6b798..e9b262fdaa2c 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c | |||
@@ -1945,7 +1945,7 @@ int evergreen_mc_init(struct radeon_device *rdev) | |||
1945 | rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE) * 1024 * 1024; | 1945 | rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE) * 1024 * 1024; |
1946 | rdev->mc.visible_vram_size = rdev->mc.aper_size; | 1946 | rdev->mc.visible_vram_size = rdev->mc.aper_size; |
1947 | rdev->mc.active_vram_size = rdev->mc.visible_vram_size; | 1947 | rdev->mc.active_vram_size = rdev->mc.visible_vram_size; |
1948 | r600_vram_gtt_location(rdev, &rdev->mc); | 1948 | r700_vram_gtt_location(rdev, &rdev->mc); |
1949 | radeon_update_bandwidth_info(rdev); | 1949 | radeon_update_bandwidth_info(rdev); |
1950 | 1950 | ||
1951 | return 0; | 1951 | return 0; |