summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-01-04 12:43:03 +1100
committerDave Airlie <airlied@linux.ie>2007-01-04 12:43:03 +1100
commit249ec67c296b34d0c7c1d78602628d2f7ce6a045 (patch)
tree8e7bca568a95748205e2065dd9fdb02bfcb3fea3 /src/radeon_driver.c
parenta43c1d55f5f855d9e6ae939dd4eec1c607b6d514 (diff)
more minor fixes to get radeon up to speed
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index fb0fa80c..ab9e9b7c 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -449,7 +449,7 @@ RADEONCreateScreenResources (ScreenPtr pScreen)
if (!(*pScreen->CreateScreenResources)(pScreen))
return FALSE;
- if (!RADEONRandRCreateScreenResources(pScreen))
+ if (!xf86RandR12CreateScreenResources(pScreen))
return FALSE;
return TRUE;
@@ -2850,12 +2850,13 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10
RADEONGetBIOSInfo(pScrn, pInt10);
+ RADEONSetupConnectors(pScrn);
+
if (!info->IsSecondary) {
if (!RADEONAllocateConnectors(pScrn))
return FALSE;
}
- RADEONSetupConnectors(pScrn);
RADEONMapControllers(pScrn);
RADEONGetClockInfo(pScrn);
@@ -3220,7 +3221,7 @@ _X_EXPORT Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
info->directRenderingEnabled = RADEONPreInitDRI(pScrn);
#endif
- xf86CrtcSetSizeRange (pScrn, 320, 200, 16384, 2048);
+ xf86CrtcSetSizeRange (pScrn, 320, 200, 2048, 2048);
if (!RADEONPreInitVRAM(pScrn))
goto fail;