diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-03-03 04:45:24 +0300 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-04-09 14:13:58 +0300 |
commit | 4ca1ac7997dbc13b8de4448f9e7e7b6d07cac3fa (patch) | |
tree | 5c90a976ad84354657a17de3793ff640b4048576 /drivers/gpu | |
parent | 3030c151137dcfffcf881fc193cdd648bc9716a6 (diff) | |
download | linux-4ca1ac7997dbc13b8de4448f9e7e7b6d07cac3fa.tar.xz |
drm/radeon: do a posting read in cik_set_irq
commit cffefd9bb31cd35ab745d3b49005d10616d25bdc 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')
-rw-r--r-- | drivers/gpu/drm/radeon/cik.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 6e2e4a859047..bb4c6573a525 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -6352,6 +6352,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; } |