aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/si.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-03-02 20:43:53 -0500
committerAlex Deucher <alexander.deucher@amd.com>2015-03-03 17:28:29 -0500
commit0586915ec10d0ae60de5cd3381ad25a704760402 (patch)
tree9c26c25c4633a8babca899366cfa5c9086e009bd /drivers/gpu/drm/radeon/si.c
parentdrm/radeon: do a posting read in evergreen_set_irq (diff)
downloadlinux-dev-0586915ec10d0ae60de5cd3381ad25a704760402.tar.xz
linux-dev-0586915ec10d0ae60de5cd3381ad25a704760402.zip
drm/radeon: do a posting read in si_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 '')
-rw-r--r--drivers/gpu/drm/radeon/si.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c
index bcf516a8a2f1..e088e5558da0 100644
--- a/drivers/gpu/drm/radeon/si.c
+++ b/drivers/gpu/drm/radeon/si.c
@@ -6203,6 +6203,9 @@ int si_irq_set(struct radeon_device *rdev)
WREG32(CG_THERMAL_INT, thermal_int);
+ /* posting read */
+ RREG32(SRBM_STATUS);
+
return 0;
}