Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26f16cbd authored by Alex Deucher's avatar Alex Deucher Committed by Sasha Levin
Browse files

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: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 7d5b23fa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
}