]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: do not let TRTTE and 0x4dfc write passthrough to hardware
authorYan Zhao <yan.y.zhao@intel.com>
Wed, 8 May 2019 02:16:44 +0000 (22:16 -0400)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 21 May 2019 02:58:07 +0000 (10:58 +0800)
commit083cd31d5506ce513ece626aad229c2007b98a37
tree5a5a208da5265469a9bde001d8a223aec7557b69
parent0fe55834e920e815839c8e3d0f56b90c58a3cd1f
drm/i915/gvt: do not let TRTTE and 0x4dfc write passthrough to hardware

the vGPU write on TRTTE and 0x4dfc is now write to vreg first. their
values all be restored hardware when context switching.

Fixes: 6e5a935462ba ("drm/i915/gvt: vGPU MMIO virtualization")
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c