diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-03-03 04:42:53 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-09 14:13:56 +0300 |
commit | 60a74c2e1b3cc2776d8eb103e9099c4e5fec8b3e (patch) | |
tree | 3cd77e3b9dd3baab23edf756b46f4c76ac84f9f8 /drivers/gpu/drm/radeon/evergreen.c | |
parent | 26c65937c172b65fe06d25d612bf31f36383c1f2 (diff) | |
download | linux-60a74c2e1b3cc2776d8eb103e9099c4e5fec8b3e.tar.xz |
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: Jiri Slaby <jslaby@suse.cz>
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 20b00a0f42b4..063b72fbfe1e 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -4497,6 +4497,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; } |