drm/i915/gvt: Fix cmd parser error for Passmark9
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 11 Oct 2021 04:33:29 +0000 (12:33 +0800)
committerZhi Wang <zhi.a.wang@intel.com>
Wed, 12 Jan 2022 07:52:37 +0000 (02:52 -0500)
This is to add one new register required for windows guest driver
update when running Passmark9, otherwise cmd parser would complain
and fail guest workload.

Cc: Terrence Xu <terrence.xu@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20211011043329.3519093-1-zhenyuw@linux.intel.com
Reviewed-by: Zhi Wang <zhi.a.wang@intel.com>
drivers/gpu/drm/i915/gvt/handlers.c

index cde0a47..805fee4 100644 (file)
@@ -3436,6 +3436,7 @@ static int init_skl_mmio_info(struct intel_gvt *gvt)
 
        MMIO_DFH(GAMT_CHKN_BIT_REG, D_KBL | D_CFL, F_CMD_ACCESS, NULL, NULL);
        MMIO_D(GEN9_CTX_PREEMPT_REG, D_SKL_PLUS & ~D_BXT);
+       MMIO_DFH(_MMIO(0xe4cc), D_BDW_PLUS, F_CMD_ACCESS, NULL, NULL);
 
        return 0;
 }