drm/i915/gvt: fix an typo in skl_decode_mi_display_flip
authorMin He <min.he@intel.com>
Tue, 25 Oct 2016 08:26:04 +0000 (16:26 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 26 Oct 2016 05:12:03 +0000 (13:12 +0800)
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>
drivers/gpu/drm/i915/gvt/cmd_parser.c

index 477b0d4..0084ece 100644 (file)
@@ -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: