[PATCH v3] drm/i915/gvt: only copy the first page for restore inhibit context

Zhenyu Wang zhenyuw at linux.intel.com
Thu Aug 2 05:49:11 UTC 2018


On 2018.08.01 08:53:25 +0000, intel-gvt-dev-bounces at lists.freedesktop.org wrote:
> Thanks for the patch. I think it's a good optimization. Acked-by Hang Yuan.
> 
> > -----Original Message-----
> > From: intel-gvt-dev [mailto:intel-gvt-dev-bounces at lists.freedesktop.org] On
> > Behalf Of Zhao Yan
> > Sent: Wednesday, August 1, 2018 12:16 PM
> > To: intel-gvt-dev at lists.freedesktop.org
> > Cc: Zhao, Yan Y <yan.y.zhao at intel.com>
> > Subject: [PATCH v3] drm/i915/gvt: only copy the first page for restore inhibit
> > context
> > 
> > if a context is a restore inhibit context, gfx hw only load the first page for
> > ring context, so we only need to copy from guest the 1 page too.
> > 
> > v3: use "return" instead of "goto" for inhibit case. (zhenyu wang)
> > v2: move judgement of restore inhibit to a macro in  mmio_context.h
> > 
> > Signed-off-by: Zhao Yan <yan.y.zhao at intel.com>
> > ---

Applied, thanks!

-- 
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/20180802/69a8e0fa/attachment.sig>


More information about the intel-gvt-dev mailing list