diff options
| author | Chunming Zhou <[email protected]> | 2018-10-23 17:37:45 +0800 |
|---|---|---|
| committer | Christian König <[email protected]> | 2018-10-23 13:58:56 +0200 |
| commit | 43cf1fc0e27e2f7eeb5d6c15fd023813a5b49987 (patch) | |
| tree | 106e58194d9b2ed2d8007a0aad6d134c01eb0657 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 3d42f1ddc47a69c0ce155f9f30d764c4d689a5fa (diff) | |
drm: fix deadlock of syncobj v6
v2:
add a mutex between sync_cb execution and free.
v3:
clearly separating the roles for pt_lock and cb_mutex (Chris)
v4:
the cb_mutex should be taken outside of the pt_lock around
this if() block. (Chris)
v5:
fix a corner case
v6:
tidy drm_syncobj_fence_get_or_add_callback up. (Chris)
Tested by syncobj_basic and syncobj_wait of igt.
Signed-off-by: Chunming Zhou <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Christian König <[email protected]>
Cc: [email protected]
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Christian König <[email protected]>
Link: https://patchwork.kernel.org/patch/10652893/
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions