Commit 31cf950e authored by Edgar E. Iglesias's avatar Edgar E. Iglesias
Browse files

xilinx-dp: Add support for the yuy2 video format



Add support for the yuy2 video format.

Reviewed-by: default avatarKONRAD Frederic <frederic.konrad@adacore.com>
Acked-by: default avatarSai Pavan Boddu <saipava@xilinx.com>
Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@xilinx.com>
parent feac83af
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -624,6 +624,9 @@ static void xlnx_dp_change_graphic_fmt(XlnxDPState *s)
    case 0:
        s->v_plane.format = PIXMAN_x8b8g8r8;
        break;
    case DP_NL_VID_Y0_CB_Y1_CR:
        s->v_plane.format = PIXMAN_yuy2;
        break;
    case DP_NL_VID_RGBA8880:
        s->v_plane.format = PIXMAN_x8b8g8r8;
        break;