diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-04-04 14:59:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-04-08 11:07:08 -0400 |
commit | 367cbe2fec9b57b72605e2ac4cfd4f2fa823a256 (patch) | |
tree | a3909f31738eeef702cb7ab8e007569987678212 /drivers/gpu/drm/radeon/rv515.c | |
parent | 411678288d61ba17afe1f8afed92200be6bbc65d (diff) | |
download | blackbird-op-linux-367cbe2fec9b57b72605e2ac4cfd4f2fa823a256.tar.gz blackbird-op-linux-367cbe2fec9b57b72605e2ac4cfd4f2fa823a256.zip |
drm/radeon: fix typo in rv515_mc_resume()
Doesn't affect anything as the same address gets written
in both cases.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/rv515.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv515.c | 2 |
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) /* update crtc base addresses */ for (i = 0; i < rdev->num_crtc; i++) { if (rdev->family >= CHIP_RV770) { - if (i == 1) { + if (i == 0) { WREG32(R700_D1GRPH_PRIMARY_SURFACE_ADDRESS_HIGH, upper_32_bits(rdev->mc.vram_start)); WREG32(R700_D1GRPH_SECONDARY_SURFACE_ADDRESS_HIGH, |