diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2015-03-02 20:42:53 -0500 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-03-28 09:23:05 -0400 |
commit | 26f16cbdfdcf23b50be938f97ab581196e7bc73d (patch) | |
tree | af93aa6b0c92eae1c3cbaffc6aeee37d9e103497 /drivers/gpu/drm/radeon/evergreen.c | |
parent | 7d5b23fa02b0a327eb1bdc5b854a773f00942304 (diff) | |
download | lwn-26f16cbdfdcf23b50be938f97ab581196e7bc73d.tar.gz lwn-26f16cbdfdcf23b50be938f97ab581196e7bc73d.zip |
drm/radeon: do a posting read in evergreen_set_irq
[ Upstream commit c320bb5f6dc0cb88a811cbaf839303e0a3916a92 ]
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>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 85995b4e3338..c674f63d7f14 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -4589,6 +4589,9 @@ int evergreen_irq_set(struct radeon_device *rdev) WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC4_REGISTER_OFFSET, afmt5); WREG32(AFMT_AUDIO_PACKET_CONTROL + EVERGREEN_CRTC5_REGISTER_OFFSET, afmt6); + /* posting read */ + RREG32(SRBM_STATUS); + return 0; } |