Skip to content

Commit

Permalink
drm/i915/lvds: simplify gen 2 lvds presence
Browse files Browse the repository at this point in the history
Gen 2 mobile and not I830 is, in fact, I85X. Simplify.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190122082307.4003-6-jani.nikula@intel.com
  • Loading branch information
Jani Nikula committed Jan 24, 2019
1 parent a5916fd commit 346073c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 346073c

Please sign in to comment.