drm/i915: VLV doesn't have the ILK+ style LP watermark registers
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 May 2013 15:01:49 +0000 (18:01 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Jun 2013 08:00:11 +0000 (10:00 +0200)
The LP watermark registers don't exist on VLV, so don't touch them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 4126fb1..b970267 100644 (file)
@@ -4797,10 +4797,6 @@ static void valleyview_init_clock_gating(struct drm_device *dev)
        struct drm_i915_private *dev_priv = dev->dev_private;
        int pipe;
 
-       I915_WRITE(WM3_LP_ILK, 0);
-       I915_WRITE(WM2_LP_ILK, 0);
-       I915_WRITE(WM1_LP_ILK, 0);
-
        I915_WRITE(ILK_DSPCLK_GATE_D, ILK_VRHUNIT_CLOCK_GATE_DISABLE);
 
        /* WaDisableEarlyCull:vlv */