]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: use VBT to determine whether to enumerate the VGA port
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 4 Apr 2014 23:12:07 +0000 (16:12 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jun 2014 14:36:00 +0000 (16:36 +0200)
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 <jbarnes@virtuousgeek.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index 0875992c65ed221dddab19a7a6bca93f9ebce66e..30898ad45b9d8c4dc363f466db78cb731f800fc3 100644 (file)
@@ -11090,7 +11090,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)) {