aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher2013-04-04 13:59:35 -0500
committerGreg Kroah-Hartman2013-05-11 15:54:04 -0500
commit01f2c8f8ece71325f2ea56b6397e0ed590fb505b (patch)
tree52a70630d8bf21f69458dc8ab6addaabd916f461
parent3e7e32bed1ceb3f3055c075bfdede9ec07125b33 (diff)
downloadkernel-omap-01f2c8f8ece71325f2ea56b6397e0ed590fb505b.tar.gz
kernel-omap-01f2c8f8ece71325f2ea56b6397e0ed590fb505b.tar.xz
kernel-omap-01f2c8f8ece71325f2ea56b6397e0ed590fb505b.zip
drm/radeon: fix typo in rv515_mc_resume()
commit 367cbe2fec9b57b72605e2ac4cfd4f2fa823a256 upstream. Doesn't affect anything as the same address gets written in both cases. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/gpu/drm/radeon/rv515.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c
index 435ed3551364..5e1ba16c7a77 100644
--- a/drivers/gpu/drm/radeon/rv515.c
+++ b/drivers/gpu/drm/radeon/rv515.c
@@ -348,7 +348,7 @@ void rv515_mc_resume(struct radeon_device *rdev, struct rv515_mc_save *save)
348 /* update crtc base addresses */ 348 /* update crtc base addresses */
349 for (i = 0; i < rdev->num_crtc; i++) { 349 for (i = 0; i < rdev->num_crtc; i++) {
350 if (rdev->family >= CHIP_RV770) { 350 if (rdev->family >= CHIP_RV770) {
351 if (i == 1) { 351 if (i == 0) {
352 WREG32(R700_D1GRPH_PRIMARY_SURFACE_ADDRESS_HIGH, 352 WREG32(R700_D1GRPH_PRIMARY_SURFACE_ADDRESS_HIGH,
353 upper_32_bits(rdev->mc.vram_start)); 353 upper_32_bits(rdev->mc.vram_start));
354 WREG32(R700_D1GRPH_SECONDARY_SURFACE_ADDRESS_HIGH, 354 WREG32(R700_D1GRPH_SECONDARY_SURFACE_ADDRESS_HIGH,