diff options
author | Dave Airlie <airlied@linux.ie> | 2007-02-25 23:17:31 +1100 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-02-25 23:17:31 +1100 |
commit | 3b43788c45f51ad2d3e8e64383c412f4ddd97207 (patch) | |
tree | 6fa5373b7baadbcc314c445de7909c1645533723 /src/radeon_driver.c | |
parent | 24c6fa7cfac5602ba9e6e2f331bcac52fab258e5 (diff) |
cleanup radeon code against master server
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 0e2ec00a..3f4ee4c9 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -3634,15 +3634,10 @@ _X_EXPORT Bool RADEONScreenInit(int scrnIndex, ScreenPtr pScreen, crtc->desiredY = 0; } - if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation, crtc->desiredX, crtc->desiredY)) + if (!xf86CrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation, crtc->desiredX, crtc->desiredY)) return FALSE; } - RADEONBlank(pScrn); - RADEONRestoreMode(pScrn, &info->ModeReg); - RADEONUnblank(pScrn); - - //if (!RADEONModeInit(pScrn, pScrn->currentMode)) return FALSE; } RADEONSaveScreen(pScreen, SCREEN_SAVER_ON); @@ -6326,17 +6321,11 @@ _X_EXPORT Bool RADEONEnterVT(int scrnIndex, int flags) crtc->desiredY = 0; } - if (!RADEONCrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation, + if (!xf86CrtcSetMode (crtc, &crtc->desiredMode, crtc->desiredRotation, crtc->desiredX, crtc->desiredY)) return FALSE; } - RADEONBlank(pScrn); - RADEONRestoreMode(pScrn, &info->ModeReg); - RADEONUnblank(pScrn); - - if (info->DispPriority) - RADEONInitDispBandwidth(pScrn); } #if 0 if (!RADEONModeInit(pScrn, pScrn->currentMode)) return FALSE; |