diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2016-11-24 15:55:49 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2016-11-25 09:18:11 +0800 |
commit | 53d6f812c0dbf1c9cad89b1c2118e61c13ca9677 (patch) | |
tree | 1135ed9f9c1415a259320d45999e7cd426f73844 /include | |
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 <dan.carpenter@oracle.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Pei Zhang <pei.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions