summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorDeepak S2014-08-05 16:51:20 +0200
committerDaniel Vetter2014-08-07 14:04:09 +0200
commit274fa1c1acdc530e124d9d835d5dd059a5330b49 (patch)
tree448aa6ca6e754ac31a3bb98a45b9e82171c12aa1 /drivers/gpu/drm/i915/i915_gem.c
parentdrm/i915: Fix DEIER and GTIER collecting for BDW. (diff)
downloadkernel-qcow2-linux-274fa1c1acdc530e124d9d835d5dd059a5330b49.tar.gz
kernel-qcow2-linux-274fa1c1acdc530e124d9d835d5dd059a5330b49.tar.xz
kernel-qcow2-linux-274fa1c1acdc530e124d9d835d5dd059a5330b49.zip
drm/i915: Bring GPU Freq to min while suspending.
We might be leaving the PGU Frequency (and thus vnn) high during the suspend. Flusing the delayed work queue should take care of this. Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index dcd8d7b42552..20743bd421f9 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4554,7 +4554,7 @@ i915_gem_suspend(struct drm_device *dev)
del_timer_sync(&dev_priv->gpu_error.hangcheck_timer);
cancel_delayed_work_sync(&dev_priv->mm.retire_work);
- cancel_delayed_work_sync(&dev_priv->mm.idle_work);
+ flush_delayed_work(&dev_priv->mm.idle_work);
return 0;