]> 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)
commit624bc6b0f0d47a5b2459cec7aff6447d9cc7126b
tree5a5a208da5265469a9bde001d8a223aec7557b69
parent6cc742920706245f2c0efad2ddc45d4d687d6407
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: 61cacffe7234 ("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