drm/i915/gvt: Clear the shadow page table entry after post-sync
authorZhi Wang <zhi.a.wang@intel.com>
Thu, 28 Dec 2017 18:50:08 +0000 (02:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Jan 2018 08:45:24 +0000 (09:45 +0100)
commit4675bdd85ca4c9b90f7f051c72856c857b4df43f
tree53c1c73e9d0de1b3738565304a5259ee4bbf96de
parent9fc16b259ac276da269b97f66ad72a5b182c523a
drm/i915/gvt: Clear the shadow page table entry after post-sync

commit 121d760d0788f95619049c63449d977065cab69d upstream.

A shadow page table entry needs to be cleared after being set as
post-sync. This patch fixes the recent error reported in Win7-32 test.

Fixes: 2707e4446688 ("drm/i915/gvt: vGPU graphics memory virtualization")
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/gvt/gtt.c