summaryrefslogtreecommitdiff
path: root/src/i830_dvo.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_dvo.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_dvo.c')
-rw-r--r--src/i830_dvo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index d1010545..37caf000 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -257,6 +257,8 @@ i830_dvo_init(ScrnInfoPtr pScrn)
intel_output->type = I830_OUTPUT_DVO;
output->driver_private = intel_output;
output->subpixel_order = SubPixelHorizontalRGB;
+ output->interlaceAllowed = FALSE;
+ output->doubleScanAllowed = FALSE;
/* Set up the DDC bus */
ret = I830I2CInit(pScrn, &intel_output->pDDCBus, GPIOD, "DVODDC_D");