]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53343c97226345dbdfc1454567a454fdccf22b11
treebb1a9df27ee7cb4cc8e9b21d20e657c07f553665
parentb3dfc223554bc4a6afdf0e7457d56309be795677
drm/i915: Set crtc/clone mask in different output devices

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>
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dvo.c
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_tv.c