summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-11 20:25:20 -0400
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-10-11 20:25:20 -0400
commit5db3afaa1fdb69d382ac769ef40191a4b964d28e (patch)
tree7705a23aecfe50818f38b606691700ee6f1417a2
parent1148d332f52f3780897aae3fcd5d6a67687c42cd (diff)
RADEON: return status unknown for flaky chip/connector combinations
This should at least get something on the screen. XPRESS chips, I'm looking in your general direction...
-rw-r--r--src/radeon_output.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 643cbc4e..4229eee8 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1647,6 +1647,16 @@ radeon_detect(xf86OutputPtr output)
break;
}
+ if (!connected) {
+ /* default to unknown for flaky chips/connectors
+ * so we can get something on the screen
+ */
+ if (((radeon_output->type == OUTPUT_VGA || radeon_output->type == OUTPUT_DVI) &&
+ radeon_output->DACType == DAC_TVDAC) ||
+ (info->IsIGP && radeon_output->type == OUTPUT_DVI))
+ return XF86OutputStatusUnknown;
+ }
+
if (connected)
return XF86OutputStatusConnected;
else