[PATCH v3] drm/i915/gvt: Fix cmd length of VEB_DI_IECP

fred gao fred.gao at intel.com
Tue May 28 01:36:15 UTC 2019


From: "Gao, Fred" <fred.gao at intel.com>

Fix the length value of VEB_DI_IECP.

Reviewed-by: Zhenyu Wang <zhenyuw at linux.intel.com>
Signed-off-by: Gao, Fred <fred.gao at intel.com>
---
 drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gvt/cmd_parser.c b/drivers/gpu/drm/i915/gvt/cmd_parser.c
index a25f50a03c6c..27804cf5a394 100644
--- a/drivers/gpu/drm/i915/gvt/cmd_parser.c
+++ b/drivers/gpu/drm/i915/gvt/cmd_parser.c
@@ -2526,7 +2526,7 @@ static const struct cmd_info cmd_info[] = {
 		0, 12, NULL},
 
 	{"VEB_DI_IECP", OP_VEB_DNDI_IECP_STATE, F_LEN_VAR, R_VECS, D_BDW_PLUS,
-		0, 20, NULL},
+		0, 12, NULL},
 };
 
 static void add_cmd_entry(struct intel_gvt *gvt, struct cmd_entry *e)
-- 
2.17.1



More information about the intel-gvt-dev mailing list