Message ID | 1488790918-26121-1-git-send-email-manasi.d.navare@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c index e144f03..416d597 100644 --- a/drivers/gpu/drm/i915/intel_bios.c +++ b/drivers/gpu/drm/i915/intel_bios.c @@ -1148,9 +1148,15 @@ static void parse_ddi_port(struct drm_i915_private *dev_priv, enum port port, } } } - if (!child) - return; + if (!child) { + /* Clear the DDI VBT Port info values */ + info->supports_dvi = false; + info->supports_hdmi = false; + info->supports_dp = false; + info->supports_edp = false; + return; + } aux_channel = child->common.aux_channel; ddc_pin = child->common.ddc_pin;