Commit 030b28dc authored by Alex Deucher's avatar Alex Deucher Committed by Sasha Levin

drm/radeon: do a posting read in si_set_irq

[ Upstream commit 0586915e ]

To make sure the writes go through the pci bridge.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=90741Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 09e605b3
...@@ -6192,6 +6192,9 @@ int si_irq_set(struct radeon_device *rdev) ...@@ -6192,6 +6192,9 @@ int si_irq_set(struct radeon_device *rdev)
WREG32(CG_THERMAL_INT, thermal_int); WREG32(CG_THERMAL_INT, thermal_int);
/* posting read */
RREG32(SRBM_STATUS);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment