diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 42324b1..9d71f41 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -5208,6 +5208,7 @@ Bool RADEONEnterVT(int scrnIndex, int flags) pScrn->vtSema = TRUE; + RADEONRestoreMemMapRegisters(pScrn, info->ModeReg); RADEONRestoreSurfaces(pScrn, info->ModeReg); if (!xf86SetDesiredModes(pScrn)) @@ -5227,9 +5228,8 @@ Bool RADEONEnterVT(int scrnIndex, int flags) RADEONDRIResume(pScrn->pScreen); RADEONAdjustMemMapRegisters(pScrn, info->ModeReg); - } else + } #endif - RADEONRestoreMemMapRegisters(pScrn, info->ModeReg); /* this will get XVideo going again, but only if XVideo was initialised