diff options
author | Zhenyu Wang <[email protected]> | 2016-11-24 15:55:49 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2016-11-25 09:18:11 +0800 |
commit | 53d6f812c0dbf1c9cad89b1c2118e61c13ca9677 (patch) | |
tree | 1135ed9f9c1415a259320d45999e7cd426f73844 /tools/perf/util/trace-event-scripting.c | |
parent | 550dd77ebb6360120269d9a7102ae2c0cea41290 (diff) |
drm/i915/gvt: fix lock not released bug for dispatch_workload() err path
Need to be careful to release struct_mutext when request alloc
failed and take consistent handling for return status as with
normal go out path. Ensure to check correct workload request in
complete path too.
v2: Add Fixes note
Fixes: 90d27a1b180e ("drm/i915/gvt: fix deadlock in workload_thread")
Reported-by: Dan Carpenter <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Pei Zhang <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions