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)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 9 May 2015 22:16:23 +0000 (23:16 +0100)
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: Ben Hutchings <ben@decadent.org.uk>
drivers/gpu/drm/radeon/r600.c

index ab46a99..e5299a0 100644 (file)
@@ -3156,6 +3156,9 @@ int r600_irq_set(struct radeon_device *rdev)
                WREG32(DC_HOT_PLUG_DETECT3_INT_CONTROL, hpd3);
        }
 
+       /* posting read */
+       RREG32(R_000E50_SRBM_STATUS);
+
        return 0;
 }