diff options
author | Alex Deucher <alex@botch2.(none)> | 2008-01-07 01:13:09 -0500 |
---|---|---|
committer | Alex Deucher <alex@botch2.(none)> | 2008-01-07 01:13:09 -0500 |
commit | fa3e2055225c27e25465fc46786da1b7574fd3cc (patch) | |
tree | 92aa60ecbb1f8369e6615235a3e8422d391924a6 /src/radeon_output.c | |
parent | d972cc9237eb90b49b11f8d2bdc5b61f628911dc (diff) |
RADEON: add default outputs if no connected devices
If no connected devices found at server startup, default
to something so the server comes up. LVDS on mobility chips,
DAC or TMDS on others.
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r-- | src/radeon_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index b9c81652..b62eeaf7 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -626,7 +626,6 @@ static xf86OutputStatus radeon_detect(xf86OutputPtr output) { ScrnInfoPtr pScrn = output->scrn; - RADEONInfoPtr info = RADEONPTR(pScrn); RADEONOutputPrivatePtr radeon_output = output->driver_private; Bool connected = TRUE; @@ -675,6 +674,7 @@ radeon_detect(xf86OutputPtr output) break; } +#if 0 if (!connected) { /* default to unknown for flaky chips/connectors * so we can get something on the screen @@ -690,6 +690,7 @@ radeon_detect(xf86OutputPtr output) return XF86OutputStatusUnknown; } } +#endif if (connected) return XF86OutputStatusConnected; @@ -755,7 +756,6 @@ radeon_create_resources(xf86OutputPtr output) INT32 range[2]; int data, err; const char *s; - char *optstr; /* backlight control */ if (radeon_output->type == OUTPUT_LVDS) { |