diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-11-22 17:56:26 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-11-23 09:23:23 +1000 |
commit | 0ef0c1f7349e782f6c79cb7e4bf8a4c3ce3371c6 (patch) | |
tree | da4bacbd97cd8e704619adaa08c6929c53dc2d07 /drivers/gpu/drm/radeon/r600.c | |
parent | 4339c442c0736db42329b68602308e95bcc75a30 (diff) | |
download | op-kernel-dev-0ef0c1f7349e782f6c79cb7e4bf8a4c3ce3371c6.zip op-kernel-dev-0ef0c1f7349e782f6c79cb7e4bf8a4c3ce3371c6.tar.gz |
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/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index a355259..93b1c68 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c @@ -1161,7 +1161,7 @@ static void r600_mc_program(struct radeon_device *rdev) * Note: GTT start, end, size should be initialized before calling this * function on AGP platform. */ -void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc) +static void r600_vram_gtt_location(struct radeon_device *rdev, struct radeon_mc *mc) { u64 size_bf, size_af; |