From: Edgar E. Iglesias Date: Tue, 17 Jan 2017 22:31:09 +0000 (-0800) Subject: xilinx-dp: Add support for the yuy2 video format X-Git-Tag: v2.10.0-rc0~94^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31cf950ea2a010c33e5384aaba91f01dc27c1599;p=thirdparty%2Fqemu.git xilinx-dp: Add support for the yuy2 video format Add support for the yuy2 video format. Reviewed-by: KONRAD Frederic Acked-by: Sai Pavan Boddu Signed-off-by: Edgar E. Iglesias --- diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c index f7b7b80c686..a77d7db22f0 100644 --- a/hw/display/xlnx_dp.c +++ b/hw/display/xlnx_dp.c @@ -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;