drm/i915/gvt: Refine broken PPGTT scratch
authorZhi Wang <zhi.a.wang@intel.com>
Mon, 16 Oct 2017 18:00:27 +0000 (02:00 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 16 Nov 2017 03:48:24 +0000 (11:48 +0800)
commitc1802534e5a6ec089e2b951116adfc14bb6dae64
tree80955b3ca60edc1d4b69c1abbabbd410f70d5520
parent655c64efe36f199bea16f9ba7388c479d5feed5f
drm/i915/gvt: Refine broken PPGTT scratch

Refine previously broken PPGTT scratch. Scratch PTE was no correctly
handled and also the handling of scratch entries in page table walk was
not well organized, which brings gaps of introducing lazy shadow.

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