]> git.hungrycats.org Git - linux/commitdiff
drm/radeon: do a posting read in cik_set_irq
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Mar 2015 01:45:24 +0000 (20:45 -0500)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 11:13:58 +0000 (13:13 +0200)
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>
drivers/gpu/drm/radeon/cik.c

index 6e2e4a859047d857dc769e11bf853354dd0c9057..bb4c6573a525fe002bcc49c645f9bb84c9be563f 100644 (file)
@@ -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;
 }