]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerZefan Li <lizefan@huawei.com>
Fri, 19 Jun 2015 03:40:20 +0000 (11:40 +0800)
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: Zefan Li <lizefan@huawei.com>
drivers/gpu/drm/radeon/r600.c

index 1555cd69411179da610522f740bfe3f34a58d0ad..9c7062d970ee742299465dcbf0046ab5e64022d5 100644 (file)
@@ -3184,6 +3184,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;
 }