From patchwork Fri Jun 30 13:55:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 9819667 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EE01C60224 for ; Fri, 30 Jun 2017 13:56:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5C3F285CB for ; Fri, 30 Jun 2017 13:56:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA91328609; Fri, 30 Jun 2017 13:56:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 44075285CB for ; Fri, 30 Jun 2017 13:56:52 +0000 (UTC) Received: from localhost ([::1]:44661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQwPj-0007Mt-9Z for patchwork-qemu-devel@patchwork.kernel.org; Fri, 30 Jun 2017 09:56:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQwOk-0007Lh-Sm for qemu-devel@nongnu.org; Fri, 30 Jun 2017 09:55:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQwOh-0005dE-Lw for qemu-devel@nongnu.org; Fri, 30 Jun 2017 09:55:50 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQwOh-0005bW-6r; Fri, 30 Jun 2017 09:55:47 -0400 Received: by mail-lf0-x241.google.com with SMTP id g21so10145588lfk.1; Fri, 30 Jun 2017 06:55:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=lE4sYugzm1a+N25UdQOeAs+6tDwjKPaweoqmYRnNCyE=; b=n4FopeoGRWbZwfH8+XvdWVT3SupOiyuEnP9/PcID14vQVBi5QmYE9/LDTaoZ9FkrkA DJVIf3q9dU5o9GQitOCxdBm/Cw/ji9SB/jNmaVGhtI+t/0MOyfyi1I0Bxr4Bo0pu5a3w MEMKF5HD67aIGhs1gIBlqzC+Vb6nKYWWqwJgxTGT6PHjMPIiYyUeojGn4MonQAmjBJ26 eKxqESHmN+5+Cu4NeQdVRLDet1XecOZ3LvhwCNdTO9Axlbv5RcZaNNWOO0JpLcN9nJsr HnNhKLjtGkRJqdWphme1Tf/+g98ghQGJPp1CGiYoz51zyX4k+eQl0LF+TWwpaCQkqYZK MXAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lE4sYugzm1a+N25UdQOeAs+6tDwjKPaweoqmYRnNCyE=; b=QAmeaVAEhDD4B5nfM/lmCkf6Jh5fNCcuhrrUtJE5DfFKN45pzovwLM71/5hiu7d1e5 Ho6QCOjeObu/khY0LZV/Ow37Ib54YDSASnxBsLn+qeKGv0BHolZ8H2w37V05hRSEXtlN XryvJ2VZ/lqSpgNmtnNBILK12rB1ACA7UL3llTWnoXeROlrD58LGhz6+rGy9bDW9Y5oq X88NwjnjvTPRrMTz1aRWucA8zaaH9cRGt0lGQrGAn6sxMGG7Qx/JVhXHCuWOIK2xSmi7 zGTQ99/kFNHHf31JySBtqo7ah9fu8Mfqi2C9zQ05w3ALdZeqR9G6xl3wznolvvKWWp42 0zcg== X-Gm-Message-State: AKS2vOy4h9XStTh8leQMO661lX/O/9gpJvM7Ywh2mugsVpmoylaUgWhs 2Aaw48L/Qtwfrsad X-Received: by 10.25.209.2 with SMTP id i2mr2655327lfg.119.1498830945537; Fri, 30 Jun 2017 06:55:45 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id z25sm1632710lja.2.2017.06.30.06.55.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jun 2017 06:55:44 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Fri, 30 Jun 2017 15:55:44 +0200 Message-Id: <1498830944-26857-1-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::241 Subject: [Qemu-devel] [PATCH v1 1/1] xilinx-dp: Add support for the yuy2 video format X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sai.pavan.boddu@xilinx.com, edgar.iglesias@xilinx.com, qemu-arm@nongnu.org, alistai@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Add support for the yuy2 video format. Signed-off-by: Edgar E. Iglesias Acked-by: Sai Pavan Boddu Reviewed-by: KONRAD Frederic --- 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;