drm/i915: Don't use HDMI 12bpc when cloning with other encoder types
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Mar 2014 14:15:29 +0000 (16:15 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 10 Mar 2014 20:46:26 +0000 (21:46 +0100)
commit718006329556b95c4394cc9163bafac85ccbe2f2
treee39ea1dd8d9ec0d2679c1cb64cc926a121001b98
parente8e6e6012d68c4967e8f26fdd39ac95c247d4789
drm/i915: Don't use HDMI 12bpc when cloning with other encoder types

When cloning HDMI with other output types, we can't use 12bpc since the
clocks for the other encoder types would be off. So have
intel_hdmi_compute_config() check if there are other encoders besides
HDMI being fed from the same pipe, and if so, pick 8bpc insted if 12bpc.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c