[PATCH 3.4 067/172] drm/radeon: do a posting read in evergreen_set_irq

lizf
2015-06-16T09:24:08Z

From: Alex Deucher <alexander.deucher@amd.com>

3.4.108-rc1 review patch. If anyone has any objections, please let me know.

------------------

commit c320bb5f6dc0cb88a811cbaf839303e0a3916a92 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/evergreen.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 01434ef..c5fe79e 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -3474,6 +3474,9 @@ int evergreen_init(struct radeon_device *rdev)
}
}

+ /* posting read */
+ RREG32(SRBM_STATUS);
+
return 0;
}

--
1.9.1