drm/i915: Set crtc/clone mask in different output devices
authorMa Ling <ling.ma@intel.com>
Mon, 24 Aug 2009 05:50:24 +0000 (13:50 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 25 Aug 2009 00:01:33 +0000 (17:01 -0700)
Based on Bspec each encoder has different sharing pipe property,
i.e. Integrated or SDVO TV both will occupy one pipe exclusively,
and sdvo-non-tv and crt are allowed to share one. The patch moves
sharing judgment into differnet output functions, and sets the right
clone bit.

This fixes both HDMI outputs choosing the same pipe.

https://bugs.freedesktop.org/show_bug.cgi?id=22247

Signed-off-by: Ma Ling <ling.ma@intel.com>
Reviewed-by : Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>

No differences found