summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@dulcimer.keithp.com>2007-05-17 15:00:12 -0700
committerKeith Packard <keithp@dulcimer.keithp.com>2007-05-17 15:00:12 -0700
commite89d5f275442915cc7777e75d3fcf7e7ed0f2084 (patch)
tree26ea06fdb3af64ce40003c234e9ba9b3e5dfecb0 /src/i830_tv.c
parenta441954630c6cdabbf463bfc3404160f97a04b4f (diff)
Make each output control clones/crtcs. Split DVO into LVDS, TMDS, TV.
Move clone/crtc config into each output where it's easier to understand (no need for a switch statement in I830PrepareOutputs. Also, split DVO into three sub-types (TMDS, LVDS, TVOUT) as those have different cloning abilities.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r--src/i830_tv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index 336214f1..b95986f0 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1669,6 +1669,8 @@ i830_tv_init(ScrnInfoPtr pScrn)
}
dev_priv = (struct i830_tv_priv *) (intel_output + 1);
intel_output->type = I830_OUTPUT_TVOUT;
+ intel_output->pipe_mask = ((1 << 0) | (1 << 1));
+ intel_output->clone_mask = (1 << I830_OUTPUT_TVOUT);
intel_output->dev_priv = dev_priv;
dev_priv->type = TV_TYPE_UNKNOWN;