From 346073cee660bbbede71244b64ea34f66f21c36e Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 22 Jan 2019 10:23:06 +0200 Subject: [PATCH] drm/i915/lvds: simplify gen 2 lvds presence MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Gen 2 mobile and not I830 is, in fact, I85X. Simplify. Suggested-by: Ville Syrjälä Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20190122082307.4003-6-jani.nikula@intel.com --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9895ea566f99..ed3780f24638 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -14508,7 +14508,7 @@ static void intel_setup_outputs(struct drm_i915_private *dev_priv) if (SUPPORTS_TV(dev_priv)) intel_tv_init(dev_priv); } else if (IS_GEN(dev_priv, 2)) { - if (IS_MOBILE(dev_priv) && !IS_I830(dev_priv)) + if (IS_I85X(dev_priv)) intel_lvds_init(dev_priv); if (dev_priv->vbt.int_crt_support) -- 2.39.5