]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/i915: Enable EI mode for RCx decision making on Sandybridge
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Dec 2010 10:54:26 +0000 (10:54 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Dec 2010 10:54:26 +0000 (10:54 +0000)
And no I have no idea what the difference is either, just that is the
recommendation.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c

index fe653829787293edd4af7cc98f6b69efffcf0aaf..c79bee4b4d565520232b2cbe6de5a0a9b8d2ea3b 100644 (file)
@@ -6141,6 +6141,7 @@ static void gen6_enable_rc6(struct drm_i915_private *dev_priv)
        I915_WRITE(GEN6_RC_CONTROL,
                   GEN6_RC_CTL_RC6p_ENABLE |
                   GEN6_RC_CTL_RC6_ENABLE |
+                  GEN6_RC_CTL_EI_MODE(1) |
                   GEN6_RC_CTL_HW_ENABLE);
 
        I915_WRITE(GEN6_RC_NORMAL_FREQ,