[Intel-gfx] [PATCH] drm/i915: Disable GT powersaving upon suspend

Chris Wilson chris at chris-wilson.co.uk
Thu Jul 21 15:30:08 UTC 2016


In the refactoring to stop the rpm refleak, the call to
intel_disable_gt_powersave() was mistakenly dropped from
i915_drm_suspend(). It is still required in order to set the rps.enabled
flag back to false so that it will re-enabled upon resume.

Fixes: b7137e0cf1e5 ("drm/i915: Defer enabling rc6 til after...")
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala at intel.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Imre Deak <imre.deak at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 83afdd0..f55291a 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -1444,6 +1444,7 @@ static int i915_drm_suspend(struct drm_device *dev)
 
 	intel_dp_mst_suspend(dev);
 
+	intel_disable_gt_powersave(dev_priv);
 	intel_runtime_pm_disable_interrupts(dev_priv);
 	intel_hpd_cancel_work(dev_priv);
 
-- 
2.8.1



More information about the Intel-gfx mailing list