drm/i915/crt: simplify CRT VBT check on pre-VLV/DDI
authorJani Nikula <jani.nikula@intel.com>
Tue, 22 Jan 2019 08:23:07 +0000 (10:23 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 24 Jan 2019 07:35:06 +0000 (09:35 +0200)
commit74d021eaa70a1add287a5c65ba0fbc34606b8484
treedb5686cab27fcf39b0e327bcd0b3d3b3a02991be
parent346073cee660bbbede71244b64ea34f66f21c36e
drm/i915/crt: simplify CRT VBT check on pre-VLV/DDI

The VBT int_crt_support can't be trusted on earlier platforms, and is
always set to true in intel_bios.c for pre-DDI and pre-VLV platforms. We
can simplify the output setup by unconditionally calling
intel_crt_init() for these platforms.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190122082307.4003-7-jani.nikula@intel.com
drivers/gpu/drm/i915/intel_display.c