mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 02:34:23 +08:00
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 <jbarnes@virtuousgeek.org> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
de8f0a5016
commit
27da3bdfcf
@ -11106,7 +11106,7 @@ static void intel_setup_outputs(struct drm_device *dev)
|
|||||||
|
|
||||||
intel_lvds_init(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);
|
intel_crt_init(dev);
|
||||||
|
|
||||||
if (HAS_DDI(dev)) {
|
if (HAS_DDI(dev)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user