OSDN Git Service

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)
commit2fb39fad065f7c694d8974b07d6c654709b52005
tree2a4c04434412c6c6d91c549f480d60faa594276f
parent9b172345caa4e21423c649c4b98b32f53b6c89cb
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