summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/cik.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-03-03 04:45:24 +0300
committerSasha Levin <sasha.levin@oracle.com>2015-03-28 16:23:28 +0300
commit09e605b31431b59a09c4e8ca3150590b929b2ed5 (patch)
tree5033a5c637c3fab41a91ebfafb98f084f41aebd8 /drivers/gpu/drm/radeon/cik.c
parenta5f1220ce4120b18c72183908c30d3588442002a (diff)
downloadlinux-09e605b31431b59a09c4e8ca3150590b929b2ed5.tar.xz
drm/radeon: do a posting read in cik_set_irq
[ Upstream commit cffefd9bb31cd35ab745d3b49005d10616d25bdc ] 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 Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cik.c')
-rw-r--r--drivers/gpu/drm/radeon/cik.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c
index 5f395be9b3e3..0c6fbc0198a5 100644
--- a/drivers/gpu/drm/radeon/cik.c
+++ b/drivers/gpu/drm/radeon/cik.c
@@ -7555,6 +7555,9 @@ int cik_irq_set(struct radeon_device *rdev)
WREG32(DC_HPD5_INT_CONTROL, hpd5);
WREG32(DC_HPD6_INT_CONTROL, hpd6);
+ /* posting read */
+ RREG32(SRBM_STATUS);
+
return 0;
}