Skip to content

Commit 6e04736

Browse files
Thomas Prestonrodrigovivi
authored andcommitted
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: a98d9c1 ("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 2131bc0) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
1 parent 9e98c67 commit 6e04736

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/intel_bios.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,7 @@ init_vbt_missing_defaults(struct drm_i915_private *dev_priv)
16731673
info->supports_dvi = (port != PORT_A && port != PORT_E);
16741674
info->supports_hdmi = info->supports_dvi;
16751675
info->supports_dp = (port != PORT_E);
1676+
info->supports_edp = (port == PORT_A);
16761677
}
16771678
}
16781679

0 commit comments

Comments
 (0)