summaryrefslogtreecommitdiff
path: root/src/i830_lvds.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_lvds.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_lvds.c')
-rw-r--r--src/i830_lvds.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index cf709569..5f0c01bb 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -180,10 +180,10 @@ i830_lvds_post_set_mode(xf86OutputPtr output, DisplayModePtr pMode)
* This always returns OUTPUT_STATUS_CONNECTED. This output should only have
* been set up if the LVDS was actually connected anyway.
*/
-static enum detect_status
+static xf86OutputStatus
i830_lvds_detect(xf86OutputPtr output)
{
- return OUTPUT_STATUS_CONNECTED;
+ return XF86OutputStatusConnected;
}
/**
@@ -293,6 +293,7 @@ i830_lvds_init(ScrnInfoPtr pScrn)
}
intel_output->type = I830_OUTPUT_LVDS;
output->driver_private = intel_output;
+ output->subpixel_order = SubPixelHorizontalRGB;
/* Set up the LVDS DDC channel. Most panels won't support it, but it can
* be useful if available.