[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video fo
From: |
Edgar E. Iglesias |
Subject: |
[Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format |
Date: |
Fri, 30 Jun 2017 15:55:44 +0200 |
From: "Edgar E. Iglesias" <address@hidden>
Add support for the yuy2 video format.
Signed-off-by: Edgar E. Iglesias <address@hidden>
Acked-by: Sai Pavan Boddu <address@hidden>
---
hw/display/xlnx_dp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c
index f7b7b80..a77d7db 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;
--
2.7.4
- [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format,
Edgar E. Iglesias <=