[PATCH] drm/i915/gvt: Add shadow context descriptor updating

Zhenyu Wang zhenyuw at linux.intel.com
Thu Jul 27 02:36:52 UTC 2017


On 2017.07.27 02:28:49 +0000, Zhang, Tina wrote:
> > 
> > Initially thought we might need to re-create shadow context for vGPU reset, but
> > that has other side effect e.g new context hw id which might not be welcomed
> > by e.g profiling tool. But this is mostly a waste when context is not pinned or
> > once adjusted after reset, could we have some flag for this after vGPU reset for
> > any new workload? Which should be bitmap flag on each engine for descriptor
> > reset.
> Would guest mixes 64bit and 32bit context workload? If that is the case, we may need to
> check each guest's workload descriptor. If that isn't the case, we can add some flag to
> do the update when needed (e.g after device model reset).

Current linux guest's addr mode is set by i915.enable_ppgtt as global
flag, so won't have different 64/32bit mode submission. Although for
hw context, it's legal to have different addr mode for different
context, currently seems no drivers apply for that and current gvt
full ppgtt doesn't work for 32bit addr. 

-- 
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/20170727/cf7be6f5/attachment.sig>


More information about the intel-gvt-dev mailing list