diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_driver.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index de81b2d5..42324b13 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -5208,6 +5208,11 @@ Bool RADEONEnterVT(int scrnIndex, int flags) pScrn->vtSema = TRUE; + RADEONRestoreSurfaces(pScrn, info->ModeReg); + + if (!xf86SetDesiredModes(pScrn)) + return FALSE; + #ifdef XF86DRI if (info->directRenderingEnabled) { if (info->cardType == CARD_PCIE && @@ -5226,10 +5231,6 @@ Bool RADEONEnterVT(int scrnIndex, int flags) #endif RADEONRestoreMemMapRegisters(pScrn, info->ModeReg); - RADEONRestoreSurfaces(pScrn, info->ModeReg); - - if (!xf86SetDesiredModes(pScrn)) - return FALSE; /* this will get XVideo going again, but only if XVideo was initialised during server startup (hence the info->adaptor if). */ |