]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: addressed guest GPU hang with HWS index mode
authorXiaolin Zhang <xiaolin.zhang@intel.com>
Wed, 3 Apr 2019 08:28:04 +0000 (16:28 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 16 Apr 2019 08:52:13 +0000 (16:52 +0800)
commit793398a3dfcb347a42aa91efd194de68f82acd28
treef4a2033b041b25aab14dc6eb63d6c9bedb2a1261
parent627d37d0978dd869d6c759bf5f611233ae09438e
drm/i915/gvt: addressed guest GPU hang with HWS index mode

with the introduce of "switch to use HWS indices rather than address",
guest GPU hang observed when running workloads which will update the
seqno to the real HW HWSP, not vitural GPU HWSP and then cause GPU hang.

this patch is to revoke index mode in PIPE_CTRL and MI_FLUSH_DW and
patch guest GPU HWSP address value to these commands.

Fixes: e2f46c32f876 ("drm/i915: Switch to use HWS indices rather than addresses")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Xiaolin Zhang <xiaolin.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c