[PATCH v4 0/3] init mmio by lri command in vgpu inhibit context

Zhenyu Wang zhenyuw at linux.intel.com
Thu Feb 22 05:37:12 UTC 2018


On 2018.02.13 13:24:30 +0800, Weinan Li wrote:
> This patch set contains 3 patches, the 1st and 2nd both are code refine,
> the 2nd patch is the fix for getting back incorrect default context, use
> lri command to initialize the mmio for inhibit context. With wrong default
> context, vgpu will run with unexpected state, unknown issues may be
> occurred.
> 
> v2:
> - separate these patches from patch set(Zhenyu)
> 
> v3:
> - fix code fault, use 'for' to loop through mmio render list(Zhenyu)
> 
> v4:
> - save the count of engine mmio need to be restored for inhibit context and
>   refine some comments. (Kevin)
> 
> Weinan Li (3):
>   drm/i915/gvt: add define GEN9_MOCS_SIZE
>   drm/i915/gvt: add interface to check if context is inhibit
>   drm/i915/gvt: init mmio by lri command in vgpu inhibit context
> 
>  drivers/gpu/drm/i915/gvt/gvt.h          |   5 +-
>  drivers/gpu/drm/i915/gvt/mmio_context.c | 210 +++++++++++++++++++++++++++++---
>  drivers/gpu/drm/i915/gvt/mmio_context.h |   5 +
>  drivers/gpu/drm/i915/gvt/scheduler.c    |   5 +
>  4 files changed, 205 insertions(+), 20 deletions(-)
> 
> -- 

Applied this, thank you and Kevin for review!

-- 
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/20180222/1cb23bf5/attachment.sig>


More information about the intel-gvt-dev mailing list