summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-30 19:13:09 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-30 19:13:09 -0400
commitde17d36c1f710305870e3c636cae3f742f1cb6d6 (patch)
tree7c2dda67182fb61eacd80a09db9e7348079d84f8 /src/radeon_driver.c
parent7d9f643ae3d07e51e644a5979ca90bc2c102bc89 (diff)
AVIVO: first pass at display watermark setup
This helps with flickering and blanking when there is contention for MC bandwidth.
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 9cbfd0d1..a56df496 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2723,12 +2723,15 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn)
mask = 1;
else
mask = 2;
-
+
if (!RADEONAllocateControllers(pScrn, mask))
return FALSE;
RADEONGetClockInfo(pScrn);
+ if (info->IsAtomBios && info->IsIGP)
+ RADEONATOMGetIGPInfo(pScrn);
+
if (!RADEONSetupConnectors(pScrn)) {
return FALSE;
}
@@ -2737,7 +2740,7 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn)
/* fixup outputs for zaphod */
RADEONFixZaphodOutputs(pScrn);
}
-
+
RADEONPrintPortMap(pScrn);
info->first_load_no_devices = FALSE;
@@ -3037,8 +3040,6 @@ Bool RADEONPreInit(ScrnInfoPtr pScrn, int flags)
}
}
- ErrorF("after xf86InitialConfiguration\n");
-
RADEONSetPitch(pScrn);
/* Set display resolution */