commit | 56f5f7007dee07bdc109061c87a94eadd58e64b8 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Nov 30 16:23:44 2015 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Dec 02 11:22:57 2015 +0200 |
tree | 16088c817db22d3811e43f9ed6d78441e8fd949b | |
parent | 83d83392e3e5432a9240e6b060119f01d27f2a30 [diff] [blame] |
drm/i915: Add HAS_PCH_LPT_H() We have HAS_PCH_LPT_LP() already, so add HAS_PCH_LPT_H() and use it where appropriate. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1448893432-6978-4-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index d4beac3..eb42b38 100644 --- a/drivers/gpu/drm/i915/intel_panel.c +++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -1308,7 +1308,7 @@ else mul = 128; - if (dev_priv->pch_id == INTEL_PCH_LPT_DEVICE_ID_TYPE) + if (HAS_PCH_LPT_H(dev_priv)) clock = MHz(135); /* LPT:H */ else clock = MHz(24); /* LPT:LP */