diff --git a/src/via_display.c b/src/via_display.c index 79887fa..2b9e751 100644 --- a/src/via_display.c +++ b/src/via_display.c @@ -798,6 +798,9 @@ viaIGAInitCommon(ScrnInfoPtr pScrn) "CR6C: 0x%02X\n", temp)); } + temp = hwp->readCrtc(hwp, 0x79); + DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "CR79: 0x%02X\n", temp)); #endif @@ -1009,6 +1012,8 @@ viaIGAInitCommon(ScrnInfoPtr pScrn) ViaCrtcMask(hwp, 0x6C, 0x00, 0x01); } + ViaCrtcMask(hwp, 0x79, 0x00, 0x01); + DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Exiting viaIGAInitCommon.\n")); } @@ -1042,6 +1047,12 @@ viaIGA1Init(ScrnInfoPtr pScrn) DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, "CR33: 0x%02X\n", temp)); + if (pVia->Chipset == VIA_VX900) { + temp = hwp->readCrtc(hwp, 0x45); + DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "CR45: 0x%02X\n", temp)); + } + /* For UniChrome Pro and Chrome9. */ if ((pVia->Chipset != VIA_CLE266) && (pVia->Chipset != VIA_KM400)) { @@ -1150,6 +1161,10 @@ viaIGA1Init(ScrnInfoPtr pScrn) * 111: Shift to early time by 2 characters */ ViaCrtcMask(hwp, 0x33, 0x05, 0xCF); + if (pVia->Chipset == VIA_VX900) { + ViaCrtcMask(hwp, 0x45, 0x00, 0x01); + } + /* For UniChrome Pro and Chrome9. */ if ((pVia->Chipset != VIA_CLE266) && (pVia->Chipset != VIA_KM400)) {