[PATCH v6] drm/i915/gvt: save RING_HEAD into vreg when vgpu switched out
Zhenyu Wang
zhenyuw at linux.intel.com
Mon Jun 3 05:20:32 UTC 2019
On 2019.06.03 10:55:53 +0800, Xiaolin Zhang wrote:
> Save RING_HEAD into vgpu reg when vgpu switched out and report
> it's value back to guest.
>
> v6: addressed comment for ring head wrap count support. (Zhenyu)
> v5: ring head wrap count support.
> v4: updated HEAD/TAIL with guest value, not host value. (Yan Zhao)
> v3: save RING HEAD/TAIL vgpu reg in save_ring_hw_state. (Zhenyu Wang)
> v2: save RING_TAIL as well during vgpu mmio switch to meet ring_is_idle
> condition. (Fred Gao)
> v1: based on input from Weinan. (Weinan Li)
>
> [zhenyuw: Include this fix for possible future guest kernel that
> would utilize RING_HEAD for hangcheck.]
>
> Reviewed-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> Signed-off-by: Xiaolin Zhang <xiaolin.zhang at intel.com>
> Signed-off-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> ---
Applied this, 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/20190603/34273eb5/attachment.sig>
More information about the intel-gvt-dev
mailing list