diff options
| author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-03 18:19:13 +0100 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-04 13:44:10 +0100 |
| commit | 4fda44bf16b79a0b78fe36c6b9859e9ce2d09f43 (patch) | |
| tree | db88f80ec456f8445d70a683bafb77382e842c26 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 2006058e9988421a113e8edc004a8e0eae1a6d3f (diff) | |
| download | linux-4fda44bf16b79a0b78fe36c6b9859e9ce2d09f43.tar.gz linux-4fda44bf16b79a0b78fe36c6b9859e9ce2d09f43.zip | |
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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
