drm/i915/gvt: Fix a bug of unexpectedly clear scratch page table
authorZhi Wang <zhi.a.wang@intel.com>
Tue, 10 Oct 2017 09:14:13 +0000 (17:14 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:23 +0000 (11:48 +0800)
commit7422064883398612b5921bf26b15bd9b0dd6c325
tree1bc6515661e5d22c4f3deeae4d3ba1f197af8c46
parent22115cef0869b7d08cb2aa60a65d4d978598644c
drm/i915/gvt: Fix a bug of unexpectedly clear scratch page table

During a vGPU reset, the scratch page table shouldn't be cleared, what
needs to be cleared should be the scratch page.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/gtt.c