commit | 4fda44bf16b79a0b78fe36c6b9859e9ce2d09f43 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Wed Jul 03 18:19:13 2019 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Jul 04 13:44:10 2019 +0100 |
tree | db88f80ec456f8445d70a683bafb77382e842c26 | |
parent | 2006058e9988421a113e8edc004a8e0eae1a6d3f [diff] |
drm/i915: Flush the workqueue before draining Trying to drain a workqueue while we may still be adding to it from background tasks is, according to kernel/workqueue.c, verboten. So, add a flush_workqueue() at the start of our cleanup procedure. References: https://bugs.freedesktop.org/show_bug.cgi?id=110550 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190703171913.16585-4-chris@chris-wilson.co.uk