From be88d58968c604624617f40820dc9a50a92661be Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 19 Nov 2006 21:04:01 +0100 Subject: Bug #2168: Fix graphics corruptions with Mystique rev 2. --- src/mga_storm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mga_storm.c') diff --git a/src/mga_storm.c b/src/mga_storm.c index 417675f..6fa83bd 100644 --- a/src/mga_storm.c +++ b/src/mga_storm.c @@ -1089,8 +1089,8 @@ MGAStormSync(ScrnInfoPtr pScrn) CHECK_DMA_QUIESCENT(pMga, pScrn); - /* MGAISBUSY() reportedly causes a freeze for Mystique revision 2 and older */ - if (!(pMga->Chipset == PCI_CHIP_MGA1064 && (pMga->ChipRev >= 0 && pMga->ChipRev <= 2))) + /* MGAISBUSY() reportedly causes a freeze for Mystique revisions 0 and 1 */ + if (!(pMga->Chipset == PCI_CHIP_MGA1064 && (pMga->ChipRev >= 0 && pMga->ChipRev <= 1))) while(MGAISBUSY()); /* flush cache before a read (mga-1064g 5.1.6) */ OUTREG8(MGAREG_CRTC_INDEX, 0); -- cgit v1.2.3