drm/i915/gvt: Fix guest boot warning
authorGao Fred <fred.gao@intel.com>
Tue, 17 Dec 2019 03:19:58 +0000 (11:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 17 Dec 2019 03:19:58 +0000 (11:19 +0800)
commit5e822e44cecec1ea48925630aa31dfac827fd202
treed123bcf6fd6891a0acede3269d14010064c138da
parent9f674c811740b5db4b34668b72d47f6e7b879b0a
drm/i915/gvt: Fix guest boot warning

Simulate MIA core in reset status once GUC engine is reset.

v2: 1. use vgpu_vreg_t() function,
    2. clear MIA_IN_RESET after reading. (Zhenyu)
v3: add comments. (Zhenyu)

Signed-off-by: Gao Fred <fred.gao@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20191216160255.29499-1-fred.gao@intel.com
drivers/gpu/drm/i915/gvt/handlers.c