]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Clean up the mess around hdmi_12bpc_possible()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Oct 2017 15:14:04 +0000 (18:14 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 19:14:46 +0000 (22:14 +0300)
commitbe33be5df2a0d4b534ace0aaad65cba8144bfce8
tree5d9b11ce8436abc031d75ce3b55f867ea9633eb1
parent857c416e58dc306b15b7919117b6225544662bfa
drm/i915: Clean up the mess around hdmi_12bpc_possible()

Move the crtc state related 12bpc checks into hdmi_12bpc_possible()
since that one already examines other parts of the crtc state.

Note that we can drop the !force_dvi check since
crtc_state->has_hdmi_sink already accounts for that.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171026151405.30710-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_hdmi.c