Skip to content

Commit fccd0f7

Browse files
coxuintelzhenyw
authored andcommitted
drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
D_CFL was incorrectly removed for: GAMT_CHKN_BIT_REG GEN9_CTX_PREEMPT_REG V2: Update commit message. V3: Rebase and split Fixes and mis-handled MMIO. Fixes: 43226e6 (drm/i915/gvt: replaced register address with name) Reviewed-by: Zhenyu Wang <[email protected]> Signed-off-by: Colin Xu <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 2de60af commit fccd0f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/i915/gvt/handlers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3132,8 +3132,8 @@ static int init_skl_mmio_info(struct intel_gvt *gvt)
31323132
MMIO_DFH(GEN9_WM_CHICKEN3, D_SKL_PLUS, F_MODE_MASK | F_CMD_ACCESS,
31333133
NULL, NULL);
31343134

3135-
MMIO_D(GAMT_CHKN_BIT_REG, D_KBL);
3136-
MMIO_D(GEN9_CTX_PREEMPT_REG, D_KBL | D_SKL);
3135+
MMIO_D(GAMT_CHKN_BIT_REG, D_KBL | D_CFL);
3136+
MMIO_D(GEN9_CTX_PREEMPT_REG, D_SKL_PLUS);
31373137

31383138
return 0;
31393139
}

0 commit comments

Comments
 (0)