diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-03-02 20:42:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-26 15:00:56 +0100 |
commit | c1f447877ae10c0185be9823db482b324b061a9e (patch) | |
tree | 2ac0d09e34962ba00aa1f2bfbe7512e43f538a88 | |
parent | e1cd17df940b483afaaa1f9b6abc003ebcd1a11d (diff) | |
download | lwn-c1f447877ae10c0185be9823db482b324b061a9e.tar.gz lwn-c1f447877ae10c0185be9823db482b324b061a9e.zip |
drm/radeon: do a posting read in evergreen_set_irq
commit c320bb5f6dc0cb88a811cbaf839303e0a3916a92 upstream.
To make sure the writes go through the pci bridge.
bug:
https://bugzilla.kernel.org/show_bug.cgi?id=90741
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/evergreen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index ead08a49bec0..59ea6547306b 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -4016,6 +4016,9 @@ int evergreen_irq_set(struct radeon_device *rdev) WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC4_REGISTER_OFFSET, afmt5); WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC5_REGISTER_OFFSET, afmt6); + /* posting read */ + RREG32(SRBM_STATUS); + return 0; } |