]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: Fix GDRST vreg state after reset
authorfred gao <fred.gao@intel.com>
Wed, 24 May 2017 04:02:24 +0000 (12:02 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 8 Jun 2017 05:59:21 +0000 (13:59 +0800)
commit0b8738b66a9057c15319cd34f8a4e9d4740e4f7b
treebe1b0356a46bd10d69cd605b9d466776174ccfb8
parent63ee832a4827ac0cf319e6aefab93286bc3141de
drm/i915/gvt: Fix GDRST vreg state after reset

Emulating the GDRST read behavior correctly to ack the
guest reset request.

v2:
- split the original patch into two:
  GDRST read handler and virtual gpu reset. (Zhenyu)
v3:
- emulate the GDRST read right after write. (Zhenyu)

Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Zhang Yulei <yulei.zhang@intel.com>
Signed-off-by: fred gao <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c