diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-06-04 23:09:31 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-06-12 14:49:47 +0300 |
commit | 0f52c097a25fb09378968db7afed54d306e6bcff (patch) | |
tree | 85fda2c075de6aa2028f0edcdb042790155648fb /drivers | |
parent | 4a95e36f0357ab4de6aeadfbe78ffe6af75b2fee (diff) |
drm/i915: Nuke LC_FREQ
Get rid of the pointless LC_FREQ define.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190604200933.29417-3-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ddi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 1a9978f84c9a..aa06f1bcea61 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -1221,12 +1221,10 @@ intel_ddi_get_crtc_encoder(struct intel_crtc *crtc) return ret; } -#define LC_FREQ 2700 - static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv, i915_reg_t reg) { - int refclk = LC_FREQ; + int refclk; int n, p, r; u32 wrpll; @@ -1242,7 +1240,7 @@ static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv, refclk = 135; break; case WRPLL_REF_LCPLL: - refclk = LC_FREQ; + refclk = 2700; break; default: WARN(1, "bad wrpll refclk\n"); |