drm/i915: Clean up the mess around hdmi_12bpc_possible()
authorVille Syrjälä <[email protected]>
Thu, 26 Oct 2017 15:14:04 +0000 (18:14 +0300)
committerVille Syrjälä <[email protected]>
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ä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
drivers/gpu/drm/i915/intel_hdmi.c