diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-01-31 14:01:59 (GMT) |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-01-31 21:13:42 (GMT) |
commit | 39dc9aabd8708944031e6307819b2a794b841f83 (patch) | |
tree | 2d42e5ce39688d8035ee4c25a2bb1ff3fea01ce5 | |
parent | ed39fadd6df01095378e499fac3674883f16b853 (diff) | |
download | linux-39dc9aabd8708944031e6307819b2a794b841f83.tar.xz |
drm/radeon/r5xx-r7xx: wait for the MC to settle after MC blackout
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>
-rw-r--r-- | drivers/gpu/drm/radeon/rv515.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c index 2bb6d0e..435ed35 100644 --- 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) |