diff options
author | Alex Deucher <alex@botch2.(none)> | 2008-01-08 18:43:54 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2008-01-08 18:43:54 -0500 |
commit | 2a54c6bb09ade2ec8f998dfc1624017029d47fa3 (patch) | |
tree | 4ece6889a666307988cb954dd74da6329ca414a5 /src/radeon_driver.c | |
parent | fa3e2055225c27e25465fc46786da1b7574fd3cc (diff) |
RADEON: Make default output actually work...
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r-- | src/radeon_driver.c | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c index d10d81b..07f96a7 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2678,6 +2678,7 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn) RADEONPrintPortMap(pScrn); + info->first_load_no_devices = FALSE; for (i = 0; i < config->num_output; i++) { xf86OutputPtr output = config->output[i]; @@ -2694,32 +2695,7 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn) if (!found) { /* nothing connected, light up some defaults so the server comes up */ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No connected devices found!\n"); - for (i = 0; i < config->num_output; i++) { - xf86OutputPtr output = config->output[i]; - RADEONOutputPrivatePtr radeon_output = output->driver_private; - - if (info->IsMobility) { - if (radeon_output->type == OUTPUT_LVDS) { - radeon_output->MonType = MT_LCD; - output->status = XF86OutputStatusConnected; - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Using LVDS default\n"); - break; - } - } else { - if (radeon_output->type == OUTPUT_VGA || - radeon_output->type == OUTPUT_DVI_I) { - radeon_output->MonType = MT_CRT; - output->status = XF86OutputStatusUnknown; - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Using VGA default\n"); - break; - } else if (radeon_output->type == OUTPUT_DVI_D) { - radeon_output->MonType = MT_DFP; - output->status = XF86OutputStatusUnknown; - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "Using DVI default\n"); - break; - } - } - } + info->first_load_no_devices = TRUE; } ErrorF("finished all detect\n"); |