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_crt.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_crt.c')
-rw-r--r-- | src/i830_crt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c index 879ae9f3..bbb4a830 100644 --- a/src/i830_crt.c +++ b/src/i830_crt.c @@ -394,6 +394,9 @@ i830_crt_init(ScrnInfoPtr pScrn) return; } i830_output->type = I830_OUTPUT_ANALOG; + i830_output->pipe_mask = ((1 << 0) | (1 << 1)); + i830_output->clone_mask = ((1 << I830_OUTPUT_ANALOG) | + (1 << I830_OUTPUT_DVO_TMDS)); output->driver_private = i830_output; output->interlaceAllowed = FALSE; |