diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-18 19:48:34 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-18 19:48:34 -0400 |
commit | b7ae5056c94a8191c1fd0b5697707377516c0c5d (patch) | |
tree | 394f68003ea0bc2a0c24e510a7c5b13f479ce743 /drivers/gpu/drm/radeon/rv770.c | |
parent | 2126d0a4a205e2d6b763434f892524cd60f74228 (diff) | |
parent | 6a2a11dbea5db417d200d38dda53c30a2e5603e0 (diff) |
Merge branch 'drm-fixes' of /home/airlied/kernel/linux-2.6 into drm-core-next
Conflicts:
drivers/gpu/drm/i915/intel_fb.c
drivers/gpu/drm/radeon/r600_blit_kms.c
drivers/gpu/drm/ttm/ttm_bo.c
Diffstat (limited to 'drivers/gpu/drm/radeon/rv770.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv770.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index ff1cc58920c0..ab83f688263a 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -267,6 +267,7 @@ static void rv770_mc_program(struct radeon_device *rdev) | |||
267 | */ | 267 | */ |
268 | void r700_cp_stop(struct radeon_device *rdev) | 268 | void r700_cp_stop(struct radeon_device *rdev) |
269 | { | 269 | { |
270 | rdev->mc.active_vram_size = rdev->mc.visible_vram_size; | ||
270 | WREG32(CP_ME_CNTL, (CP_ME_HALT | CP_PFP_HALT)); | 271 | WREG32(CP_ME_CNTL, (CP_ME_HALT | CP_PFP_HALT)); |
271 | WREG32(SCRATCH_UMSK, 0); | 272 | WREG32(SCRATCH_UMSK, 0); |
272 | } | 273 | } |
@@ -993,6 +994,7 @@ int rv770_mc_init(struct radeon_device *rdev) | |||
993 | rdev->mc.mc_vram_size = RREG32(CONFIG_MEMSIZE); | 994 | rdev->mc.mc_vram_size = RREG32(CONFIG_MEMSIZE); |
994 | rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); | 995 | rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE); |
995 | rdev->mc.visible_vram_size = rdev->mc.aper_size; | 996 | rdev->mc.visible_vram_size = rdev->mc.aper_size; |
997 | rdev->mc.active_vram_size = rdev->mc.visible_vram_size; | ||
996 | r600_vram_gtt_location(rdev, &rdev->mc); | 998 | r600_vram_gtt_location(rdev, &rdev->mc); |
997 | radeon_update_bandwidth_info(rdev); | 999 | radeon_update_bandwidth_info(rdev); |
998 | 1000 | ||