diff options
| author | Chris Wilson <[email protected]> | 2016-07-13 18:34:44 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-07-14 21:32:27 +0100 |
| commit | 0b8c0e9c3354953a5d6f90ece82961017053dc74 (patch) | |
| tree | 5b889cfe77d93792361ac86ca5a38c3eda3f7e43 /tools/perf/scripts/python | |
| parent | e7852a4b3a4fb6f6c18fdaff934580aa8521599a (diff) | |
drm/i915/fbdev: Drain the suspend worker on retiring
Since the suspend_work can arm itself if the console_lock() is currently
held elsewhere, simply calling flush_work() doesn't guarantee that the
work is idle upon return. To do so requires using cancel_work_sync().
Signed-off-by: Chris Wilson <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions