[PATCH v2] drm/i915/gvt: Fix shadow ctx ppgtt destroy function

Zhenyu Wang zhenyuw at linux.intel.com
Thu Nov 29 08:43:11 UTC 2018


On 2018.11.29 13:52:09 +0800, Xiong Zhang wrote:
> Recently gvt shadow ctx create ppgtt table and this ppgtt's root
> pointer is modified at workload dispatch, then we lose the original
> ppgtt's root pointer, this causes the ppgtt destroy function abnormal
> as it will release the wrong root table.
> 
> This patch save i915 context ppgtt root pointer at shadow
> ctx creation and restore it at shadow ctx destruction.
> 
> v2: Split save and restore function (Zhenyu)
> 
> Fixes:4f15665ccbba("drm/i915: Add ppgtt to GVT GEM context")
> 
> Signed-off-by: Xiong Zhang <xiong.y.zhang 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/20181129/576ef8cc/attachment.sig>


More information about the intel-gvt-dev mailing list