]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 18 Mar 2019 20:59:14 +0000 (13:59 -0700)
commit6e0473633af059a559ce7b4cbaa51e389c94085e
tree976a2eb52ae83af5b163289d6a84549fd5e4bce7
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
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
(cherry picked from commit 2131bc0ced6088648e47f126566c3da58b07e4ef)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_bios.c