drm/i915: Simplify hdmi_12bpc_possible()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 22 Jun 2016 18:57:08 +0000 (21:57 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 7 Jul 2016 10:10:24 +0000 (13:10 +0300)
commit3f1c928f92a8cdeaca6c2ff7a14dfeb2a5272601
treea23803d83fd0730ab134056e9a967ba06681b8ca
parentd7edc4e57bfefc5c2830a01f013cebdb814f8ffb
drm/i915: Simplify hdmi_12bpc_possible()

With the output_types bitmask there's no need to loop through
the encoders anymore when checking for HDMI+non-HDMI cloning.

v2: Use output_types bitmask
v3: Fix the logic to really check that there are no non-HDMI encoders

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> (v2)
Link: http://patchwork.freedesktop.org/patch/msgid/1466621833-5054-11-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_hdmi.c