drm/i915/gvt: correct the emulation in TLB control handler
authorPing Gao <ping.a.gao@intel.com>
Thu, 27 Oct 2016 06:37:41 +0000 (14:37 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 7 Nov 2016 06:16:59 +0000 (14:16 +0800)
commitf24940e00062f47f1e45fb20c405c2ed6bc006a3
tree870c8e20770d28ce62ebd3e7225be77fb53ee873
parent5f399f1158959a112d98ade5380464da29ba646c
drm/i915/gvt: correct the emulation in TLB control handler

Need a explicit write_vreg in TLB MMIO write handler, beside that
TLB vreg should update correspondingly following HW status to do
correct emulation.

Signed-off-by: Ping Gao <ping.a.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c
drivers/gpu/drm/i915/gvt/render.c