diff options
author | Keith Packard <keithp@dulcimer.keithp.com> | 2007-05-17 15:00:12 -0700 |
---|---|---|
committer | Keith Packard <keithp@dulcimer.keithp.com> | 2007-05-17 15:00:12 -0700 |
commit | e89d5f275442915cc7777e75d3fcf7e7ed0f2084 (patch) | |
tree | 26ea06fdb3af64ce40003c234e9ba9b3e5dfecb0 /src/i830_sdvo.c | |
parent | a441954630c6cdabbf463bfc3404160f97a04b4f (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_sdvo.c')
-rw-r--r-- | src/i830_sdvo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c index 43b55a09..24c9c99b 100644 --- a/src/i830_sdvo.c +++ b/src/i830_sdvo.c @@ -1179,6 +1179,8 @@ i830_sdvo_init(ScrnInfoPtr pScrn, int output_device) dev_priv = (struct i830_sdvo_priv *) (intel_output + 1); intel_output->type = I830_OUTPUT_SDVO; + intel_output->pipe_mask = ((1 << 0) | (1 << 1)); + intel_output->clone_mask = (1 << I830_OUTPUT_SDVO); /* While it's the same bus, we just initialize a new copy to avoid trouble * with tracking refcounting ourselves, since the XFree86 DDX bits don't. |