summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 16a05307..a4814913 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -3471,6 +3471,9 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
/* xf86CrtcRotate() accesses pScrn->pScreen */
pScrn->pScreen = pScreen;
+ if (!xf86SetDesiredModes (pScrn))
+ return FALSE;
+
RADEONSaveScreen(pScreen, SCREEN_SAVER_ON);
/* Backing store setup */
@@ -3551,9 +3554,6 @@ Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen,
info->accelOn = FALSE;
}
- if (!xf86SetDesiredModes (pScrn))
- return FALSE;
-
/* Init DPMS */
xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG,
"Initializing DPMS\n");