summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Jacques <hugo.jacques@verint.com>2009-04-01 10:10:05 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-04-01 10:10:05 +0800
commit00de1757dd5776962bdd4c8968181878c2ebf4c9 (patch)
tree79a80565eb187a2ded53c0e575098b7a99917b10
parent087f72e1f5d7d11b8795ba80a842874f5a9bb01d (diff)
SDVO: add composite TV out support
-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 254b866f..79d49d95 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -1570,6 +1570,14 @@ i830_sdvo_output_setup (xf86OutputPtr output, uint16_t flag)
dev_priv->is_tv = TRUE;
intel_output->needs_tv_clock = TRUE;
}
+ else if (flag & SDVO_OUTPUT_CVBS0)
+ {
+ dev_priv->controlled_output = SDVO_OUTPUT_CVBS0;
+ output->subpixel_order = SubPixelHorizontalRGB; /* XXX */
+ name_prefix="TV";
+ dev_priv->is_tv = TRUE;
+ intel_output->needs_tv_clock = TRUE;
+ }
else if (flag & SDVO_OUTPUT_RGB0)
{
dev_priv->controlled_output = SDVO_OUTPUT_RGB0;