]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitba6904ce47b5a7606152e61e7554783f50b98a0e
treee39ea1dd8d9ec0d2679c1cb64cc926a121001b98
parent5fbc603799fef8c133e7be07e665fbb5721d8ab0
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