[Bug 98670] [BAT] WARN_ON(dev_priv->gt.awake) during drv_module_reload_basic
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Dec 5 10:17:00 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98670
--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
Looks more likely that we are hitting one of the skip idle() checks, maybe
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 9cc50247ad44..fa9b1b68f501 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4314,7 +4314,8 @@ int i915_gem_suspend(struct drm_i915_private *dev_priv)
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);
- flush_work(&dev_priv->mm.free_work);
+ while (flush_work(&dev_priv->mm.free_work))
+ ;
/* Assert that we sucessfully flushed all the work and
* reset the GPU back to its idle, low power state.
to really drain the work.
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20161205/36227644/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list