diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-05-04 13:37:48 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-05-04 13:37:48 +0000 |
commit | 572ac30876984a9c735cd4c71e0c5004c5e0af94 (patch) | |
tree | 525ca7f8e8dce2aea4cd220e8a1851c55c8e69e5 /sys | |
parent | ac265bdbac1e762c452fa221bd357ad49be41e5d (diff) |
drm/i915/bios: assume eDP is present on port A when there is no VBT
From Thomas Preston
6e0473633af059a559ce7b4cbaa51e389c94085e in mainline linux
Makes inteldrm(4) work on James Hastings's 'HP Stream Laptop 14-cb1XX'
a Gemini Lake system where finding the VBT fails.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/i915/intel_bios.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915/intel_bios.c b/sys/dev/pci/drm/i915/intel_bios.c index 0bd88317dbb..829fac7a0c5 100644 --- a/sys/dev/pci/drm/i915/intel_bios.c +++ b/sys/dev/pci/drm/i915/intel_bios.c @@ -1629,6 +1629,7 @@ init_vbt_missing_defaults(struct drm_i915_private *dev_priv) info->supports_dvi = (port != PORT_A && port != PORT_E); info->supports_hdmi = info->supports_dvi; info->supports_dp = (port != PORT_E); + info->supports_edp = (port == PORT_A); } } |