summaryrefslogtreecommitdiff
path: root/src/radeon_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_driver.c')
-rw-r--r--src/radeon_driver.c28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index d10d81be..07f96a73 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");