From: Ville Syrjälä Date: Tue, 21 May 2013 15:01:49 +0000 (+0300) Subject: drm/i915: VLV doesn't have the ILK+ style LP watermark registers X-Git-Tag: firefly_0821_release~176^2~5752^2~61^2~76 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4548feb1fe1f17c0d7ad7acdd267a875b22e6910;p=firefly-linux-kernel-4.4.55.git drm/i915: VLV doesn't have the ILK+ style LP watermark registers The LP watermark registers don't exist on VLV, so don't touch them. Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 4126fb1b3dd4..b970267bb5d4 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -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 */