diff options
| author | fred gao <fred.gao@intel.com> | 2017-09-19 15:11:29 +0800 |
|---|---|---|
| committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-11-16 11:46:52 +0800 |
| commit | c9214008b52b20ba2a88dad6ba92f1a19c533db6 (patch) | |
| tree | 9be2a4909f0eef548ed19dcd282be623de2293d1 /lib/mpi/mpiutil.c | |
| parent | e011c6ce2b4fc7c577ade41485d74431a4e6ea1a (diff) | |
drm/i915/gvt: Add VM healthy check for submit_context
When a scan error occurs in submit_context, this patch is to
decrease the mm ref count and free the workload struct before
the workload is abandoned.
v2:
- submit_context related code should be combined together. (Zhenyu)
v3:
- free all the unsubmitted workloads. (Zhenyu)
v4:
- refine the clean path. (Zhenyu)
v5:
- polish the title. (Zhenyu)
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
