[PATCH] drm/i915/gvt: add PLANE_KEYMAX regs to mmio track list

pei.zhang at intel.com pei.zhang at intel.com
Thu Dec 21 08:21:57 UTC 2017


From: Pei Zhang <pei.zhang at intel.com>

Running 4.15 Linux kernel in VM will cause host GVT reports
'untrack mmio 0x701a0' errror, which identifies the PLANE_KEYMAX
registers. Add them to track list.

Signed-off-by: Pei Zhang <pei.zhang at intel.com>
---
 drivers/gpu/drm/i915/gvt/handlers.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
index 94dcadd..c7a94ed 100644
--- a/drivers/gpu/drm/i915/gvt/handlers.c
+++ b/drivers/gpu/drm/i915/gvt/handlers.c
@@ -2845,6 +2845,9 @@ static int init_skl_mmio_info(struct intel_gvt *gvt)
 	MMIO_D(_PLANE_KEYVAL_1(PIPE_A), D_SKL_PLUS);
 	MMIO_D(_PLANE_KEYVAL_1(PIPE_B), D_SKL_PLUS);
 	MMIO_D(_PLANE_KEYVAL_1(PIPE_C), D_SKL_PLUS);
+	MMIO_D(_PLANE_KEYMAX_1(PIPE_A), D_SKL_PLUS);
+	MMIO_D(_PLANE_KEYMAX_1(PIPE_B), D_SKL_PLUS);
+	MMIO_D(_PLANE_KEYMAX_1(PIPE_C), D_SKL_PLUS);
 	MMIO_D(_PLANE_KEYMSK_1(PIPE_A), D_SKL_PLUS);
 	MMIO_D(_PLANE_KEYMSK_1(PIPE_B), D_SKL_PLUS);
 	MMIO_D(_PLANE_KEYMSK_1(PIPE_C), D_SKL_PLUS);
-- 
2.7.4



More information about the intel-gvt-dev mailing list