drm/i915: Rename intel_setup_wm_latency() to ilk_setup_wm_latency()
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 17 Mar 2014 18:01:16 +0000 (18:01 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Mar 2014 15:31:39 +0000 (16:31 +0100)
This function is only used on ILK+, so rename it accordingly.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index ad58ce3b7675f0f8675aec257743d09d2346d93c..1d0f34680bbb70ac32d090f77c0e3dbd405d5a78 100644 (file)
@@ -2085,7 +2085,7 @@ static void intel_print_wm_latency(struct drm_device *dev,
        }
 }
 
-static void intel_setup_wm_latency(struct drm_device *dev)
+static void ilk_setup_wm_latency(struct drm_device *dev)
 {
        struct drm_i915_private *dev_priv = dev->dev_private;
 
@@ -5985,7 +5985,7 @@ void intel_init_pm(struct drm_device *dev)
 
        /* For FIFO watermark updates */
        if (HAS_PCH_SPLIT(dev)) {
-               intel_setup_wm_latency(dev);
+               ilk_setup_wm_latency(dev);
 
                if ((IS_GEN5(dev) && dev_priv->wm.pri_latency[1] &&
                     dev_priv->wm.spr_latency[1] && dev_priv->wm.cur_latency[1]) ||