]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: emulate vgpu engine reset control behavior
authorDu, Changbin <changbin.du@intel.com>
Fri, 4 Nov 2016 04:21:37 +0000 (12:21 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 7 Nov 2016 06:17:01 +0000 (14:17 +0800)
commitd010f2af954f1a7bdab2cac365fb79a69f78c7d7
tree2a4c04434412c6c6d91c549f480d60faa594276f
parent5382a45648872516e553e13afc30b51841e06e31
drm/i915/gvt: emulate vgpu engine reset control behavior

When SW wishes to reset the render engine, it will program
engine's reset control register and wait response from HW.
We need emulate the behavior of this register so guest i915
driver could walk through the engine reset flow. The registers
are not emulated in gvt yet, this patch add the emulation
logic.

v2: add more desc info in commit message.

Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Du, Changbin <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c