Commit b6b4e185 authored by Paulo Zanoni's avatar Paulo Zanoni Committed by Daniel Vetter

drm/i915: rename intel_enable_pch_pll to ironlake_enable_pch_pll

Because this function is only for the older PCHs, not the newer ones.
Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8c52b5e8
...@@ -1579,14 +1579,14 @@ intel_sbi_read(struct drm_i915_private *dev_priv, u16 reg) ...@@ -1579,14 +1579,14 @@ intel_sbi_read(struct drm_i915_private *dev_priv, u16 reg)
} }
/** /**
* intel_enable_pch_pll - enable PCH PLL * ironlake_enable_pch_pll - enable PCH PLL
* @dev_priv: i915 private structure * @dev_priv: i915 private structure
* @pipe: pipe PLL to enable * @pipe: pipe PLL to enable
* *
* The PCH PLL needs to be enabled before the PCH transcoder, since it * The PCH PLL needs to be enabled before the PCH transcoder, since it
* drives the transcoder clock. * drives the transcoder clock.
*/ */
static void intel_enable_pch_pll(struct intel_crtc *intel_crtc) static void ironlake_enable_pch_pll(struct intel_crtc *intel_crtc)
{ {
struct drm_i915_private *dev_priv = intel_crtc->base.dev->dev_private; struct drm_i915_private *dev_priv = intel_crtc->base.dev->dev_private;
struct intel_pch_pll *pll; struct intel_pch_pll *pll;
...@@ -3084,7 +3084,7 @@ static void ironlake_pch_enable(struct drm_crtc *crtc) ...@@ -3084,7 +3084,7 @@ static void ironlake_pch_enable(struct drm_crtc *crtc)
* Note that enable_pch_pll tries to do the right thing, but get_pch_pll * Note that enable_pch_pll tries to do the right thing, but get_pch_pll
* unconditionally resets the pll - we need that to have the right LVDS * unconditionally resets the pll - we need that to have the right LVDS
* enable sequence. */ * enable sequence. */
intel_enable_pch_pll(intel_crtc); ironlake_enable_pch_pll(intel_crtc);
if (HAS_PCH_CPT(dev)) { if (HAS_PCH_CPT(dev)) {
u32 sel; u32 sel;
...@@ -3188,7 +3188,7 @@ static void lpt_pch_enable(struct drm_crtc *crtc) ...@@ -3188,7 +3188,7 @@ static void lpt_pch_enable(struct drm_crtc *crtc)
* Note that enable_pch_pll tries to do the right thing, but get_pch_pll * Note that enable_pch_pll tries to do the right thing, but get_pch_pll
* unconditionally resets the pll - we need that to have the right LVDS * unconditionally resets the pll - we need that to have the right LVDS
* enable sequence. */ * enable sequence. */
intel_enable_pch_pll(intel_crtc); ironlake_enable_pch_pll(intel_crtc);
lpt_program_iclkip(crtc); lpt_program_iclkip(crtc);
......
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