qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format
@ 2017-06-30 13:55 Edgar E. Iglesias
  2017-06-30 14:53 ` KONRAD Frederic
  0 siblings, 1 reply; 2+ messages in thread
From: Edgar E. Iglesias @ 2017-06-30 13:55 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-arm, alistai, sai.pavan.boddu, edgar.iglesias

From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

Add support for the yuy2 video format.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format
  2017-06-30 13:55 [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format Edgar E. Iglesias
@ 2017-06-30 14:53 ` KONRAD Frederic
  0 siblings, 0 replies; 2+ messages in thread
From: KONRAD Frederic @ 2017-06-30 14:53 UTC (permalink / raw)
  To: Edgar E. Iglesias
  Cc: qemu-devel, sai.pavan.boddu, edgar.iglesias, qemu-arm, alistai


On 06/30/2017 03:55 PM, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
> 
> Add support for the yuy2 video format.
> 
> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> Acked-by: Sai Pavan Boddu <saipava@xilinx.com>
> ---
>   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;
> 

Reviewed-by: KONRAD Frederic <frederic.konrad@adacore.com>

Fred

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-30 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 13:55 [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format Edgar E. Iglesias
2017-06-30 14:53 ` KONRAD Frederic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).