projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4116782
)
drm/radeon: fix typo in rv515_mc_resume()
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 4 Apr 2013 18:59:35 +0000
(14:59 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 8 Apr 2013 15:07:08 +0000
(11:07 -0400)
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
drivers/gpu/drm/radeon/rv515.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/rv515.c
b/drivers/gpu/drm/radeon/rv515.c
index
435ed35
..
5e1ba16
100644
(file)
--- 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,