From: Kristen Carlson Accardi Date: Thu, 12 Jun 2014 15:35:44 +0000 (-0700) Subject: drm/i915: disable power wells on suspend X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=85e90679335f56d162f4a0ff525573818e17ce44;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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; }