Summary: | [GLK] oops on i915 probe due to VBT advertizing HDMI on port A | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Daniel Drake <dan> | ||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Status: | CLOSED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | major | ||||||||
Priority: | high | CC: | imre.deak, intel-gfx-bugs, jani.nikula | ||||||
Version: | XOrg git | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | GLK | i915 features: | |||||||
Attachments: |
|
Description
Daniel Drake
2017-09-20 07:00:53 UTC
VBT says to init HDMI on port A, but this isn't supported anywhere AFAICS. Could you try the following?: diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 93cbbcbbc193..dcb16865b411 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -2675,6 +2675,11 @@ void intel_ddi_init(struct drm_i915_private *dev_priv, enum port port) DRM_DEBUG_KMS("VBT says port %c has lspcon\n", port_name(port)); } + if (port == PORT_A && init_hdmi) { + DRM_DEBUG_KMS("Overriding VBT to disable HDMI on port A\n"); + init_hdmi = false; + } + if (!init_dp && !init_hdmi) { DRM_DEBUG_KMS("VBT says port %c is not DVI/HDMI/DP compatible, respect it\n", port_name(port)); Please attach /sys/kernel/debug/dri/0/i915_vbt. Boot with nomodeset kernel parameter or with Imre's hack patch if you have to. Geminilake doesn't have VGA natively. I presume there's some DP->VGA converter dongle in port A, and the VBT has bogus info claiming there's HDMI. If Imre's patch helps, please attach full dmesg from boot. Let's see if there's something responding to DP on port A. Created attachment 134399 [details]
i915_vbt
Thanks for the quick response. Here is the VBT
Created attachment 134400 [details]
dmesg from successful boot
Imre's patch fixes the crash and the system now boots into the graphical environment, thanks! All 3 outputs are working, the VGA output is indeed shown as DP. Here is the full dmesg from boot.
Just to double check, this is an UEFI boot, not legacy mode? Yes, UEFI boot. Please test http://patchwork.freedesktop.org/patch/msgid/20170921141920.18172-1-jani.nikula@intel.com Essentially the same as Imre's patch, but catching the faulty config at an earlier stage. That patch works fine, thanks. Fixed by commit d27ffc1d00327c29b3aa97f941b42f0949f9e99f Author: Jani Nikula <jani.nikula@intel.com> Date: Thu Sep 21 17:19:20 2017 +0300 drm/i915/bios: ignore HDMI on port A with Cc: stable. Thanks for the report and testing! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.