[PATCH v2] drm/i915/gvt: Fix GPU hang after reusing vGPU instance across different guest OS

Zhenyu Wang zhenyuw at linux.intel.com
Fri Sep 22 06:12:40 UTC 2017


On 2017.09.22 10:00:09 +0800, changbin.du at intel.com wrote:
> From: Changbin Du <changbin.du at intel.com>
> 
> We have implemented delayed ring mmio switch mechanism to reduce
> unnecessary mmio switch. While the vGPU is being destroyed or
> detached from VM, we need to force the ring switch to host context.
> 
> The later deadline is missed. Then it got a chance that word load
> from VM2 might execute under the ring context of VM1 which was
> attached to a same vGPU instance. Finally, the GPU is hang.
> 
> This patch guarantee the two deadline are performed.
> 
> v2: Remove unused variable 'scheduler'
> 

applied to gvt-fixes, 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/20170922/632be60b/attachment.sig>


More information about the intel-gvt-dev mailing list