Partially revert "drm/i915: tune the RC6 threshold for stability"
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 16 Nov 2013 15:04:26 +0000 (16:04 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 16 Nov 2013 15:05:41 +0000 (16:05 +0100)
This reverts commit 351aa5666d02062b52329bcfe4bcf9d1f882fba9.

It breaks rc6 on at least one snb machine. Since we don't yet have a
report for ivb let's keep it there for now.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71656
Cc: Stéphane Marchesin <marcheu@chromium.org>
Cc: erik@vontaene.de
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c

index 0a07d7c9cafc367aee8b4d84723d9efa52ff20ff..e41d3af9d3db6954baf363aa04b77d4055313c90 100644 (file)
@@ -3888,7 +3888,7 @@ static void gen6_enable_rps(struct drm_device *dev)
 
        I915_WRITE(GEN6_RC_SLEEP, 0);
        I915_WRITE(GEN6_RC1e_THRESHOLD, 1000);
-       if (INTEL_INFO(dev)->gen <= 6 || IS_IVYBRIDGE(dev))
+       if (IS_IVYBRIDGE(dev))
                I915_WRITE(GEN6_RC6_THRESHOLD, 125000);
        else
                I915_WRITE(GEN6_RC6_THRESHOLD, 50000);