drm/i915: disable rc6 on haswell for now
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 13 Apr 2012 20:08:54 +0000 (17:08 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Apr 2012 10:22:07 +0000 (12:22 +0200)
This needs proper enablement to avoid machine hangs, so let's just avoid
it for now.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c

index c67eb77..02e9932 100644 (file)
@@ -8585,6 +8585,10 @@ int intel_enable_rc6(const struct drm_device *dev)
        if (INTEL_INFO(dev)->gen == 5)
                return 0;
 
+       /* Sorry Haswell, no RC6 for you for now. */
+       if (IS_HASWELL(dev))
+               return 0;
+
        /*
         * Disable rc6 on Sandybridge
         */