Browse Source

drm/i915/gvt: fix an typo in skl_decode_mi_display_flip

Fix type to set correct pipe number.

Signed-off-by: Min He <min.he@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Min He 8 years ago
parent
commit
64fafcf5a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/i915/gvt/cmd_parser.c

+ 1 - 1
drivers/gpu/drm/i915/gvt/cmd_parser.c

@@ -1145,7 +1145,7 @@ static int skl_decode_mi_display_flip(struct parser_exec_state *s,
 		info->event = PRIMARY_B_FLIP_DONE;
 		break;
 	case MI_DISPLAY_FLIP_SKL_PLANE_1_C:
-		info->pipe = PIPE_B;
+		info->pipe = PIPE_C;
 		info->event = PRIMARY_C_FLIP_DONE;
 		break;
 	default: