diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-03-03 02:42:53 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-03-03 23:28:28 +0100 |
commit | c320bb5f6dc0cb88a811cbaf839303e0a3916a92 (patch) | |
tree | f4d2e8f05a3ead0a3aec7fa5808ab19260ae746c /drivers/gpu/drm/radeon/evergreen.c | |
parent | drm/radeon: do a posting read in r600_set_irq (diff) | |
download | linux-c320bb5f6dc0cb88a811cbaf839303e0a3916a92.tar.xz linux-c320bb5f6dc0cb88a811cbaf839303e0a3916a92.zip |
drm/radeon: do a posting read in evergreen_set_irq
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-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 4c0e24b3bb90..973df064c14f 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -4593,6 +4593,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; } |