diff options
author | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2017-01-17 14:31:09 -0800 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@xilinx.com> | 2017-07-04 09:22:20 +0200 |
commit | 31cf950ea2a010c33e5384aaba91f01dc27c1599 (patch) | |
tree | 61bda5a641a74641d22706a8c1c891db3322ce39 /hw | |
parent | feac83af3be68ac8f7325dd7f9c851272a9f217e (diff) |
xilinx-dp: Add support for the yuy2 video format
Add support for the yuy2 video format.
Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com>
Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/display/xlnx_dp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c index f7b7b80c68..a77d7db22f 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; |