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 31fc1d7..1ccf2ad 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) {