From: Jesse Barnes Date: Fri, 4 Apr 2014 23:12:07 +0000 (-0700) Subject: drm/i915: use VBT to determine whether to enumerate the VGA port X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27da3bdfcf7f5233cdfe4563f53edf1ecab7cea0;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drm/i915: use VBT to determine whether to enumerate the VGA port Some platforms may not have it, and enumerating it is both confusing and time consuming due to the hotplug and DDC probing. Signed-off-by: Jesse Barnes Reviewed-by: Ben Widawsky Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index de5992b71ed9..ea0b5df226fb 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -11106,7 +11106,7 @@ static void intel_setup_outputs(struct drm_device *dev) intel_lvds_init(dev); - if (!IS_ULT(dev) && !IS_CHERRYVIEW(dev)) + if (!IS_ULT(dev) && !IS_CHERRYVIEW(dev) && dev_priv->vbt.int_crt_support) intel_crt_init(dev); if (HAS_DDI(dev)) {