[Intel-gfx] [PATCH 23/38] suspend

Chris Wilson chris at chris-wilson.co.uk
Fri Jun 3 16:55:38 UTC 2016


---
 drivers/gpu/drm/i915/i915_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index c1e91589e7bc..98aa0a7c91f0 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3796,7 +3796,7 @@ i915_gem_suspend(struct drm_device *dev)
 
 	cancel_delayed_work_sync(&dev_priv->gpu_error.hangcheck_work);
 	cancel_delayed_work_sync(&dev_priv->gt.retire_work);
-	flush_delayed_work(&dev_priv->gt.idle_work);
+	cancel_delayed_work_sync(&dev_priv->gt.idle_work);
 
 	mutex_lock(&dev_priv->dev->struct_mutex);
 
-- 
2.8.1



More information about the Intel-gfx mailing list