diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-23 11:05:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2020-07-23 11:05:53 +0000 |
commit | 1961121d2f715a68bed5bcfd38f70eda68ae7440 (patch) | |
tree | 33394b6ba02e9400816f567320702417964f7799 /sys/dev/pci/drm/i915 | |
parent | a2313bb8f53e032ff16efa0b4cb51e48b376c0ba (diff) |
drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
From Colin Xu
7924e77bf17003aad76f31126d27afe17439876d in linux 5.7.y/5.7.10
fccd0f7cf4d532674d727c7f204f038456675dee in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r-- | sys/dev/pci/drm/i915/gvt/handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/gvt/handlers.c b/sys/dev/pci/drm/i915/gvt/handlers.c index 2faf50e1b05..6e7dc28455c 100644 --- a/sys/dev/pci/drm/i915/gvt/handlers.c +++ b/sys/dev/pci/drm/i915/gvt/handlers.c @@ -3131,8 +3131,8 @@ static int init_skl_mmio_info(struct intel_gvt *gvt) MMIO_DFH(GEN9_WM_CHICKEN3, D_SKL_PLUS, F_MODE_MASK | F_CMD_ACCESS, NULL, NULL); - MMIO_D(GAMT_CHKN_BIT_REG, D_KBL); - MMIO_D(GEN9_CTX_PREEMPT_REG, D_KBL | D_SKL); + MMIO_D(GAMT_CHKN_BIT_REG, D_KBL | D_CFL); + MMIO_D(GEN9_CTX_PREEMPT_REG, D_SKL_PLUS); return 0; } |