1351N/AFixes Sun bug 6526933: Matrox MGA chip (embedded in ServerEngines "Pilot" BSC)
1351N/Adoes not work with vesa driver
1299N/Aindex 23d9e14..709d791 100644
1299N/A@@ -1488,19 +1488,19 @@ SaveFonts(ScrnInfoPtr pScrn)
1351N/A WriteGr(0x06, 0x05); /* set graphics */
1299N/A slowbcopy_frombus(pVesa->VGAbase, pVesa->fonts + 8192, 8192);
1299N/A- scrn = ReadSeq(pVesa, 0x01) & ~0x20;
- SeqReset(pVesa, FALSE);
/* Restore clobbered registers */
WriteAttr(pVesa, 0x10, attr10);
+ scrn = ReadSeq(pVesa, 0x01) & ~0x20;
+ SeqReset(pVesa, FALSE);
@@ -1557,11 +1557,6 @@ RestoreFonts(ScrnInfoPtr pScrn)
WriteGr(0x06, 0x05); /* set graphics */
slowbcopy_tobus(pVesa->fonts + 8192, pVesa->VGAbase, 8192);
- scrn = ReadSeq(pVesa, 0x01) & ~0x20;
- SeqReset(pVesa, FALSE);
/* restore the registers that were changed */
WriteAttr(pVesa, 0x10, attr10);
@@ -1573,6 +1568,11 @@ RestoreFonts(ScrnInfoPtr pScrn)
+ scrn = ReadSeq(pVesa, 0x01) & ~0x20;
+ SeqReset(pVesa, FALSE);