MGASave(pScrn);
MGAEnterVT(int scrnIndex, int flags){    ScrnInfoPtr pScrn = xf86Screens[scrnIndex];    MGAPtr pMga;#ifdef XF86DRI    ScreenPtr pScreen;#endif    pMga = MGAPTR(pScrn);#ifdef XF86DRI    if (pMga->directRenderingEnabled) {        pScreen = screenInfo.screens[scrnIndex];        DRIUnlock(pScreen);    }#endif    if (!MGAModeInit(pScrn, pScrn->currentMode))	return FALSE;    MGAAdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);    /* For the second head, work around display problem. */    if (pMga->SecondCrtc) {	MGACrtc2FillStrip(pScrn);    }    return TRUE;}