[Intel-gfx] [PATCH v2 19/25] drm/i915: reinit GT power save during resume

Imre Deak imre.deak at intel.com
Mon Apr 14 19:24:40 CEST 2014


Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 drivers/gpu/drm/i915/i915_drv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index b87109c..1f88917 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -920,6 +920,7 @@ static int intel_runtime_suspend(struct device *device)
 	DRM_DEBUG_KMS("Suspending device\n");
 
 	intel_runtime_pm_disable_interrupts(dev);
+	cancel_work_sync(&dev_priv->rps.work);
 
 	if (IS_GEN6(dev))
 		;
@@ -968,6 +969,7 @@ static int intel_runtime_resume(struct device *device)
 
 	i915_gem_init_swizzling(dev);
 	gen6_update_ring_freq(dev);
+	intel_reset_gt_powersave(dev);
 
 	intel_runtime_pm_restore_interrupts(dev);
 
-- 
1.8.4




More information about the Intel-gfx mailing list