[PATCH] drm/i915/gvt: Fix the vblank timer close issue after shutdown VMs in reverse

Zhenyu Wang zhenyuw at linux.intel.com
Mon Jul 17 09:04:55 UTC 2017


On 2017.07.17 14:52:05 +0800, fred gao wrote:
> Once the Windows guest is shutdown, the display pipe will be disabled
> and intel_gvt_check_vblank_emulation will be called to check if the
> vblank timer is turned off. Given the scenario of creating VM1 ,VM2,
> destoying VM2 in current code, VM1 has pipe enabled and continues to
> check VM2, the flag have_enabled_pipe is always false since all the VM2
> pipes are disabled, so the vblank timer will be canceled and TDR happens
> in Windows VM1 guest due to the vsync timeout.
> 
> In this patch the vblank timer will be never canceled once one pipe is
> enabled.
> 
> v2:
> - remove have_enabled_pipe flag and check pipe enabled directly. (Zhenyu)
> 

pushed 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/20170717/40762ee0/attachment.sig>


More information about the intel-gvt-dev mailing list