Commit 3c7b6b3c authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Allow PCH platforms fall back to BIOS LVDS mode

With intel_encoder_current_mode() using the normal state readout code it
actually works on PCH platforms as well. So let's nuke the PCH check from
intel_lvds_init(). I suppose there aren't any machines that actually
need this, but at least we get to eliminate a few lines of code, and one
FIXME.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171009161951.22420-2-ville.syrjala@linux.intel.comReviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent de330815
...@@ -1111,11 +1111,6 @@ void intel_lvds_init(struct drm_i915_private *dev_priv) ...@@ -1111,11 +1111,6 @@ void intel_lvds_init(struct drm_i915_private *dev_priv)
* on. If so, assume that whatever is currently programmed is the * on. If so, assume that whatever is currently programmed is the
* correct mode. * correct mode.
*/ */
/* Ironlake: FIXME if still fail, not try pipe mode now */
if (HAS_PCH_SPLIT(dev_priv))
goto failed;
fixed_mode = intel_encoder_current_mode(intel_encoder); fixed_mode = intel_encoder_current_mode(intel_encoder);
if (fixed_mode) { if (fixed_mode) {
DRM_DEBUG_KMS("using current (BIOS) mode: "); DRM_DEBUG_KMS("using current (BIOS) mode: ");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment