diff options
| author | Chris Wilson <[email protected]> | 2019-07-03 18:19:13 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-07-04 13:44:10 +0100 |
| commit | 4fda44bf16b79a0b78fe36c6b9859e9ce2d09f43 (patch) | |
| tree | db88f80ec456f8445d70a683bafb77382e842c26 /tools/perf/scripts/python/event_analyzing_sample.py | |
| 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 <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions