summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-12-30 21:57:42 -0800
committerKeith Packard <keithp@neko.keithp.com>2006-12-30 21:57:42 -0800
commit8b6c456e16c81f719bb68178e3e4d26f4108a9c2 (patch)
tree2292e9534fa1daa34c8615ae98e641516c651003 /src/i830_sdvo.c
parentb8692e646227e56c9ae4f72b9aaa75457b4c0f5f (diff)
Detect in ProbeModes. Let get_modes set edid. Prune interlace/dblscan.
Move output connection status detection from RandR code up to ProbeModes so it is done before mode sets are built. Otherwise, the mode building code will elide all modes the first time through as it ignores outputs that are disconnected. Most get_modes functions fetch EDID data; make sure that any EDID changes are used in the ProbeModes filtering of default modes. Otherwise, stale EDID data will be used. Allow outputs to advertise support for interlaced and double scan modes; prune such modes from the default mode list when outputs do not support them.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index cb68802a..b5116be0 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -1091,6 +1091,8 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device)
return;
}
output->driver_private = intel_output;
+ output->interlaceAllowed = FALSE;
+ output->doubleScanAllowed = FALSE;
dev_priv = (struct i830_sdvo_priv *) (intel_output + 1);
intel_output->type = I830_OUTPUT_SDVO;