summaryrefslogtreecommitdiff
path: root/src/i830_crt.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_crt.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_crt.c')
-rw-r--r--src/i830_crt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c
index 85c25de1..4e9e3706 100644
--- a/src/i830_crt.c
+++ b/src/i830_crt.c
@@ -365,6 +365,8 @@ i830_crt_init(ScrnInfoPtr pScrn)
i830_output->type = I830_OUTPUT_ANALOG;
output->driver_private = i830_output;
+ output->interlaceAllowed = FALSE;
+ output->doubleScanAllowed = FALSE;
/* Set up the DDC bus. */
I830I2CInit(pScrn, &i830_output->pDDCBus, GPIOA, "CRTDDC_A");