drm/i915/gvt: Fix cmd length of VEB_DI_IECP
authorGao, Fred <fred.gao@intel.com>
Tue, 28 May 2019 01:36:15 +0000 (09:36 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 30 May 2019 03:31:43 +0000 (11:31 +0800)
Fix the length value of VEB_DI_IECP.

Fixes: be1da7070aea ("drm/i915/gvt: vGPU command scanner")
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Gao, Fred <fred.gao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/cmd_parser.c

index 5cb59c0b4bbe5a7376bdd8107be80889e83c55b0..de53477255646276e992be782ed64c6a60bd4c89 100644 (file)
@@ -2530,7 +2530,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)