OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed39fad
)
drm/radeon/r5xx-r7xx: wait for the MC to settle after MC blackout
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 31 Jan 2013 14:01:59 +0000
(09:01 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:13:42 +0000
(16:13 -0500)
Some chips seem to need a little delay after blacking out
the MC before the requests actually stop. Stop DMAR errors
reported by Shuah Khan.
Reported-by: Shuah Khan <shuahkhan@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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
2bb6d0e
..
435ed35
100644
(file)
--- a/
drivers/gpu/drm/radeon/rv515.c
+++ b/
drivers/gpu/drm/radeon/rv515.c
@@
-336,6
+336,8
@@
void rv515_mc_stop(struct radeon_device *rdev, struct rv515_mc_save *save)
WREG32(R600_CITF_CNTL, blackout);
}
}
+ /* wait for the MC to settle */
+ udelay(100);
}
void rv515_mc_resume(struct radeon_device *rdev, struct rv515_mc_save *save)