summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Sauerbeck <tilman@code-monkey.de>2006-11-19 21:04:01 +0100
committerTilman Sauerbeck <tilman@code-monkey.de>2006-11-19 21:04:01 +0100
commitbe88d58968c604624617f40820dc9a50a92661be (patch)
treeb7af40d73a6c1295b5c5d957cd4f8956abd3e0ed
parentdaeecb63567fb394654c9e66d64c3c53658f2c7d (diff)
Bug #2168: Fix graphics corruptions with Mystique rev 2.
-rw-r--r--src/mga_storm.c4
1 files changed, 2 insertions, 2 deletions
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);