Commit 0f52c097 authored by Ville Syrjälä's avatar Ville Syrjälä
parent 4a95e36f
...@@ -1221,12 +1221,10 @@ intel_ddi_get_crtc_encoder(struct intel_crtc *crtc) ...@@ -1221,12 +1221,10 @@ intel_ddi_get_crtc_encoder(struct intel_crtc *crtc)
return ret; return ret;
} }
#define LC_FREQ 2700
static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv, static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv,
i915_reg_t reg) i915_reg_t reg)
{ {
int refclk = LC_FREQ; int refclk;
int n, p, r; int n, p, r;
u32 wrpll; u32 wrpll;
...@@ -1242,7 +1240,7 @@ static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv, ...@@ -1242,7 +1240,7 @@ static int hsw_ddi_calc_wrpll_link(struct drm_i915_private *dev_priv,
refclk = 135; refclk = 135;
break; break;
case WRPLL_REF_LCPLL: case WRPLL_REF_LCPLL:
refclk = LC_FREQ; refclk = 2700;
break; break;
default: default:
WARN(1, "bad wrpll refclk\n"); WARN(1, "bad wrpll refclk\n");
......
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