drm/i915/ibx, cpt: Don't attempt to register eDP if LVDS was detected
[linux-2.6-block.git] / drivers / gpu / drm / i915 / intel_display.c
index 8c6f4e2a2cb8638dc5b3390531118a47cc97ed2d..b6bb43875a03c6b726844ae994518566c7546b17 100644 (file)
@@ -14708,6 +14708,11 @@ static void intel_setup_outputs(struct drm_device *dev)
        struct intel_encoder *encoder;
        bool dpd_is_edp = false;
 
+       /*
+        * intel_edp_init_connector() depends on this completing first, to
+        * prevent the registeration of both eDP and LVDS and the incorrect
+        * sharing of the PPS.
+        */
        intel_lvds_init(dev);
 
        if (intel_crt_present(dev))