From 48499068f98b09ba14ee48281f110f626f16ad5f Mon Sep 17 00:00:00 2001 From: Henry unbongo Date: Mon, 29 Dec 2008 13:54:38 -0800 Subject: Add support for SDVO LVDS. (cherry picked from commit 59b0fbb9be880d489374b141f818948a2721a2ef) --- src/i830_sdvo.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 6d2d8b1e..07501663 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -1904,6 +1904,14 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device) dev_priv->controlled_output = SDVO_OUTPUT_RGB1; output->subpixel_order = SubPixelHorizontalRGB; name_prefix="VGA"; + } else if (dev_priv->caps.output_flags & SDVO_OUTPUT_LVDS0) { + dev_priv->controlled_output = SDVO_OUTPUT_LVDS0; + output->subpixel_order = SubPixelHorizontalRGB; + name_prefix="LVDS"; + } else if (dev_priv->caps.output_flags & SDVO_OUTPUT_LVDS1) { + dev_priv->controlled_output = SDVO_OUTPUT_LVDS1; + output->subpixel_order = SubPixelHorizontalRGB; + name_prefix="LVDS"; } else { -- cgit v1.2.3