From: Kristen Carlson Accardi Date: Thu, 12 Jun 2014 15:35:44 +0000 (-0700) Subject: drm/i915: disable power wells on suspend X-Git-Tag: firefly_0821_release~176^2~3450^2~63^2~13^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=85e90679335f56d162f4a0ff525573818e17ce44;p=firefly-linux-kernel-4.4.55.git drm/i915: disable power wells on suspend We want to make sure everything is disabled and at its lowest power when freezing. Reviewed-by: Imre Deak Signed-off-by: Kristen Carlson Accardi Signed-off-by: Jesse Barnes Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 651e65e051c0..458b778cd495 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -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; }