drm/i915: Disable renderctx powersaving support for Ironlake
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Dec 2010 23:04:14 +0000 (23:04 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 7 Dec 2010 23:05:32 +0000 (23:05 +0000)
... still causes a failure during suspend.

Reported-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c

index 31fc1d797f8f5376b9944025ba4bbdeb1344eb2b..1ccf2ad7cd888f3e93782f35bae37dfe163aa9b7 100644 (file)
@@ -5952,7 +5952,7 @@ void intel_enable_clock_gating(struct drm_device *dev)
         * GPU can automatically power down the render unit if given a page
         * to save state.
         */
-       if (IS_IRONLAKE_M(dev)) {
+       if (IS_IRONLAKE_M(dev) && 0) { /* XXX causes a failure during suspend */
                if (dev_priv->renderctx == NULL)
                        dev_priv->renderctx = intel_alloc_context_page(dev);
                if (dev_priv->renderctx) {