From: fred gao Date: Wed, 9 Jan 2019 01:20:00 +0000 (+0800) Subject: drm/i915/gvt: Add mmio handler for CFL X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5cd02703b0a497c502e8d8a8047f3a53bffacd20;p=openwrt%2Fstaging%2Fblogic.git drm/i915/gvt: Add mmio handler for CFL Add registers of 0x4ab8 and 0x2248 into MMIO handler. Reviewed-by: Zhenyu Wang Signed-off-by: Fei Jiang Signed-off-by: fred gao Signed-off-by: Zhenyu Wang --- diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c index c1170f42b6a1..9910ba16d815 100644 --- a/drivers/gpu/drm/i915/gvt/handlers.c +++ b/drivers/gpu/drm/i915/gvt/handlers.c @@ -3043,8 +3043,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(_MMIO(0x4ab8), D_KBL); - MMIO_D(_MMIO(0x2248), D_KBL | D_SKL); + MMIO_D(_MMIO(0x4ab8), D_KBL | D_CFL); + MMIO_D(_MMIO(0x2248), D_SKL_PLUS); return 0; }