diff options
author | Imre Deak <[email protected]> | 2020-06-10 16:47:04 +0300 |
---|---|---|
committer | Imre Deak <[email protected]> | 2020-06-11 15:38:12 +0300 |
commit | 72822c3bfa8ef7c997692acd580c73c263107592 (patch) | |
tree | 66687138540c44f1139f9aab387890a9b6846569 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d8bd15b37d328a935a4fc695fed8b19157503950 (diff) |
drm/dp_mst: Fix flushing the delayed port/mstb destroy work
Atm, a pending delayed destroy work during module removal will be
canceled, leaving behind MST ports, mstbs. Fix this by using a dedicated
workqueue which will be drained of requeued items as well when
destroying it.
v2:
- Check if wq is NULL before calling destroy_workqueue().
Cc: Lyude Paul <[email protected]>
Cc: Stanislav Lisovskiy <[email protected]>
Reviewed-by: Stanislav Lisovskiy <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions