drm/i915: disable power wells on suspend
authorKristen Carlson Accardi <kristen@linux.intel.com>
Thu, 12 Jun 2014 15:35:44 +0000 (08:35 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Jun 2014 15:46:59 +0000 (17:46 +0200)
We want to make sure everything is disabled and at its lowest power when
freezing.

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c

index 651e65e051c08a8e25189719aa38f6226f699271..458b778cd495eb981002e135d2e8bfa2e67d3c6c 100644 (file)
@@ -557,6 +557,8 @@ static int i915_drm_freeze(struct drm_device *dev)
 
        dev_priv->suspend_count++;
 
+       intel_display_set_init_power(dev_priv, false);
+
        return 0;
 }