[PATCH v6 3/3] drm/i915/gvt: Add error handling for submit_context

Zhenyu Wang zhenyuw at linux.intel.com
Wed Sep 13 08:22:10 UTC 2017


On 2017.09.06 10:12:52 +0800, fred gao wrote:
> 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)
> 
> Signed-off-by: fred gao <fred.gao at intel.com>
> ---

sorry for late reply, could you refresh this series against staging?

I think we'd better clean up unreference function to better align for
both error and clean path.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170913/eeefcc7b/attachment.sig>


More information about the intel-gvt-dev mailing list