Skip to content

Commit f957063

Browse files
committed
drm/radeon: do a posting read in r100_set_irq
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
1 parent 2afa326 commit f957063

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/gpu/drm/radeon/r100.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,10 @@ int r100_irq_set(struct radeon_device *rdev)
728728
tmp |= RADEON_FP2_DETECT_MASK;
729729
}
730730
WREG32(RADEON_GEN_INT_CNTL, tmp);
731+
732+
/* read back to post the write */
733+
RREG32(RADEON_GEN_INT_CNTL);
734+
731735
return 0;
732736
}
733737

0 commit comments

Comments
 (0)