]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf79dce64554613005a98604c65172799b5653154
treed1ad62ffa25a9524db362477d2d9a1b30659aafd
parent3ca2529d8b2629438e501876ebc024f7a71ded5e
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: b9308106ad44 ("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