]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
drm/radeon: do a posting read in r600_set_irq
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Mar 2015 01:41:31 +0000 (20:41 -0500)
committerJiri Slaby <jslaby@suse.cz>
Thu, 9 Apr 2015 11:13:57 +0000 (13:13 +0200)
commit 9d1393f23d5656cdd5f368efd60694d4aeed81d3 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/r600.c

index 88eb936fbc2f53efd2c6dbd76d694b39a3ae44a5..2c0a0d7c2492f232965a814d0fad6a92470ae21d 100644 (file)
@@ -3509,6 +3509,9 @@ int r600_irq_set(struct radeon_device *rdev)
                WREG32(RV770_CG_THERMAL_INT, thermal_int);
        }
 
+       /* posting read */
+       RREG32(R_000E50_SRBM_STATUS);
+
        return 0;
 }