summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry unbongo <henryunbongo@yahoo.com>2008-12-29 13:54:38 -0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-01-07 18:50:19 +0800
commit48499068f98b09ba14ee48281f110f626f16ad5f (patch)
treef444b0749e3117c3b834e0f702fd8f968275568f /src
parentfac43181af0ad59fa6d06e26d369d886ce221c10 (diff)
Add support for SDVO LVDS.
(cherry picked from commit 59b0fbb9be880d489374b141f818948a2721a2ef)
Diffstat (limited to 'src')
-rw-r--r--src/i830_sdvo.c8
1 files changed, 8 insertions, 0 deletions
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
{