summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-11-15 22:28:42 -0500
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-11-15 22:28:42 -0500
commit821acf38b716ab87c3d07263d6e4a139fe54803f (patch)
treecc65bd68b50ce9402b10b53f55d31291210ca2fc /src
parenta94123f33ec6584fbdfc4b9ecd543d1357de8814 (diff)
RADEON: Make sure we set the MT properly for connected status unknown
Diffstat (limited to 'src')
-rw-r--r--src/radeon_output.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c
index 599a89c..a5e07d7 100644
--- a/src/radeon_output.c
+++ b/src/radeon_output.c
@@ -1671,9 +1671,13 @@ radeon_detect(xf86OutputPtr output)
* 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))
+ radeon_output->DACType == DAC_TVDAC)) {
+ radeon_output->MonType = MT_CRT;
return XF86OutputStatusUnknown;
+ } else if (info->IsIGP && radeon_output->type == OUTPUT_DVI) {
+ radeon_output->MonType = MT_DFP; /* MT_LCD ??? */
+ return XF86OutputStatusUnknown;
+ }
}
if (connected)