drm/i915/vbt: split out defaults that are set when there is no VBT
authorJani Nikula <jani.nikula@intel.com>
Fri, 10 Mar 2017 13:27:58 +0000 (15:27 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 14 Mar 2017 08:49:13 +0000 (10:49 +0200)
commitbb1d132935c2f87cd261eb559759fe49d5e5dc43
treef39729cb724a7872eead3550a0f401fea05a8f0e
parent44e921d4a19846e39fa818afa9d2d22c3117210a
drm/i915/vbt: split out defaults that are set when there is no VBT

The main thing are the DDI ports. If there's a VBT that says there are
no outputs, we should trust that, and not have semi-random
defaults. Unfortunately, the defaults have resulted in some Chromebooks
without VBT to rely on this behaviour, so we split out the defaults for
the missing VBT case.

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/95c26079ff640d43f53b944f17e9fc356b36daec.1489152288.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_bios.c