]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit308afca95ba05cc59170df741e802d9f654be4e1
treea23803d83fd0730ab134056e9a967ba06681b8ca
parentf7d97dc593d5e6706cea55de1424904d8a07fdb8
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