]> 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)
commit79730eb5a8037e7d0a65a9e6fcde4d6c003ac6ab
treef4a2033b041b25aab14dc6eb63d6c9bedb2a1261
parent58d456a8ffd4a2fe6af2b807c30a4f33763a62a7
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: 06a31115dc02 ("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