[PATCH] drm/i915/gvt: Move request alloc to dispatch_workload path only

Zhenyu Wang zhenyuw at linux.intel.com
Thu Nov 16 03:55:57 UTC 2017


On 2017.11.14 17:09:35 +0800, Zhenyu Wang wrote:
> From: fred gao <fred.gao at intel.com>
> 
> Previously the performance is improved through the workload auditing
> and shadowing ahead of vGPU scheduling, however, there is the case that
> more requests are allocated in submit_context before the previous request
> is added, the timeline will hold its seqno which is later.
> 
> This patch is to move the request alloc to dispatch_workload function,
> where is the same place as request is added.
> 
> It will fix the issue of kernel BUG for (timeline->seqno != request->fence.seqno)
> check when add_request.
> 
> Fixes: 89ea20b930cb ("drm/i915/gvt: Factor out scan and shadow from workload dispatch")
> Signed-off-by: Chuanxiao Dong <chuanxiao.dong at intel.com>
> Signed-off-by: fred gao <fred.gao at intel.com>
> Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---

applied this for regression fix, thanks Fred!

-- 
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/20171116/98006254/attachment.sig>


More information about the intel-gvt-dev mailing list