xilinx-dp: Add support for the yuy2 video format
PATCH 1/1 xilinx-dp: Add support for the yuy2 video format
From: "Edgar E. Iglesias" <[email protected]>
Add support for the yuy2 video format.
Signed-off-by Edgar E. Iglesias <[email protected]>
Acked-by Sai Pavan Boddu <[email protected]>
--- hw/display/xlnx_dp.c | 3 +++ 1 file changed, 3 insertions(+)
hw/display/xlnx_dp.c +3 -0
@@ -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 ;
Signature · 1 line
2.7.4
Quoted 16 lines · Edgar E. Iglesias
From: "Edgar E. Iglesias" <[email protected]>
Add support for the yuy2 video format.
Signed-off-by Edgar E. Iglesias <[email protected]>Acked-by Sai Pavan Boddu <[email protected]>--- hw/display/xlnx_dp.c | 3 +++ 1 file changed, 3 insertions(+)hw/display/xlnx_dp.c +0
-0
hw/display/xlnx_dp.c static void xlnx_dp_change_graphic_fmt(XlnxDPState *s) · line 632
Quoted 9 lines
hw/display/xlnx_dp.c +3
-0@@ -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 ;
Reviewed-by KONRAD Frederic <[email protected]>
Fred