drm/i915/bios: assume eDP is present on port A when there is no VBT
authorThomas Preston <thomas.preston@codethink.co.uk>
Wed, 6 Mar 2019 20:06:18 +0000 (20:06 +0000)
committerJani Nikula <jani.nikula@intel.com>
Wed, 13 Mar 2019 16:10:17 +0000 (18:10 +0200)
commit2131bc0ced6088648e47f126566c3da58b07e4ef
treed1ad62ffa25a9524db362477d2d9a1b30659aafd
parent9a751b999d17a037d5562318d3a21dd5e5bd55eb
drm/i915/bios: assume eDP is present on port A when there is no VBT

We rely on VBT DDI port info for eDP detection on GEN9 platforms and
above. This breaks GEN9 platforms which don't have VBT because port A
eDP now defaults to false. Fix this by defaulting to true when VBT is
missing.

Fixes: a98d9c1d7e9b ("drm/i915/ddi: Rely on VBT DDI port info for eDP detection")
Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190306200618.17405-1-thomas.preston@codethink.co.uk
drivers/gpu/drm/i915/intel_bios.c