summaryrefslogtreecommitdiff
path: root/src/i830_dvo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2006-12-06 00:13:57 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2006-12-06 00:13:57 -0800
commit56f71194157ef929b62fe34a89c840bd59e56301 (patch)
treef55491abc5de7debabf2af225a78c00df647814d /src/i830_dvo.c
parentffd8aacbe7c72b696ff7257609e3c1d45c057609 (diff)
Use xf86 structures for default config instead of RandR.
To avoid requiring RandR 1.2 in the X server, use the xf86 Crtc and Output structures as the basis for the default configuration computation (and, eventually, the config-file based configuration as well).
Diffstat (limited to 'src/i830_dvo.c')
-rw-r--r--src/i830_dvo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i830_dvo.c b/src/i830_dvo.c
index 6fe31575..ccd08468 100644
--- a/src/i830_dvo.c
+++ b/src/i830_dvo.c
@@ -164,10 +164,10 @@ i830_dvo_post_set_mode(xf86OutputPtr output, DisplayModePtr pMode)
*
* Unimplemented.
*/
-static enum detect_status
+static xf86OutputStatus
i830_dvo_detect(xf86OutputPtr output)
{
- return OUTPUT_STATUS_UNKNOWN;
+ return XF86OutputStatusUnknown;
}
static Bool
@@ -248,6 +248,7 @@ i830_dvo_init(ScrnInfoPtr pScrn)
}
intel_output->type = I830_OUTPUT_DVO;
output->driver_private = intel_output;
+ output->subpixel_order = SubPixelHorizontalRGB;
/* Set up the I2C and DDC buses */
ret = I830I2CInit(pScrn, &intel_output->pI2CBus, GPIOE, "DVOI2C_E");