summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-02-25 23:17:31 +1100
committerDave Airlie <airlied@linux.ie>2007-02-25 23:17:31 +1100
commit3b43788c45f51ad2d3e8e64383c412f4ddd97207 (patch)
tree6fa5373b7baadbcc314c445de7909c1645533723 /src/radeon_driver.c
parent24c6fa7cfac5602ba9e6e2f331bcac52fab258e5 (diff)
cleanup radeon code against master server
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c15
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;