From patchwork Fri May 4 23:40:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyun Kwon X-Patchwork-Id: 10381787 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 830A16037D for ; Fri, 4 May 2018 23:42:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7163A2956B for ; Fri, 4 May 2018 23:42:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 663B929576; Fri, 4 May 2018 23:42:41 +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=-5.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 148882956B for ; Fri, 4 May 2018 23:42:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2C2736E898; Fri, 4 May 2018 23:42:36 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0068.outbound.protection.outlook.com [104.47.38.68]) by gabe.freedesktop.org (Postfix) with ESMTPS id 25D8E6E0D5 for ; Fri, 4 May 2018 23:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fWQfoX8G3gtKG0DmkHHHXbraKLx1PL4GoSZy6ysS1y0=; b=ukIO3Ub5J5kuGJOfEsCskyMf8GFS2z0ldMzJFQESbJlR+KrrhvMOa94ckn/V/3hZdLT8JWIRnrnfohRchCL4LunUsuB+M+OsDDy4k+4nvLq3oVSz+ZHB/D2LhHXF+KlAKziN0cGUoy4w13ZEciYelUIljiVQENh/rkskR7S30pE= Received: from MWHPR0201CA0102.namprd02.prod.outlook.com (2603:10b6:301:75::43) by DM2PR0201MB0686.namprd02.prod.outlook.com (2a01:111:e400:3c07::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Fri, 4 May 2018 23:42:31 +0000 Received: from SN1NAM02FT004.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::201) by MWHPR0201CA0102.outlook.office365.com (2603:10b6:301:75::43) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.735.17 via Frontend Transport; Fri, 4 May 2018 23:42:30 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT004.mail.protection.outlook.com (10.152.72.175) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.735.16 via Frontend Transport; Fri, 4 May 2018 23:42:29 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:59101 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1fEkLM-0007LR-VF for dri-devel@lists.freedesktop.org; Fri, 04 May 2018 16:42:28 -0700 Received: from [127.0.0.1] (helo=xsj-smtp-dlp2.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1fEkLH-0006XM-LI; Fri, 04 May 2018 16:42:23 -0700 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w44NgLHY020402; Fri, 4 May 2018 16:42:21 -0700 Received: from [172.19.2.244] (helo=xsjhyunkubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1fEkLF-0006Wq-Ha; Fri, 04 May 2018 16:42:21 -0700 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id 80FA72C744C; Fri, 4 May 2018 16:42:20 -0700 (PDT) From: Hyun Kwon To: Subject: [PATCH LIBDRM 3/3] tests: util: Add support for YUV422 and YUV444 Date: Fri, 4 May 2018 16:40:54 -0700 Message-ID: <1525477254-3338-4-git-send-email-hyun.kwon@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525477254-3338-1-git-send-email-hyun.kwon@xilinx.com> References: <1525477254-3338-1-git-send-email-hyun.kwon@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(396003)(39830400003)(39380400002)(376002)(2980300002)(438002)(199004)(189003)(107886003)(2351001)(2906002)(51416003)(8676002)(50226002)(336012)(4326008)(36756003)(63266004)(47776003)(42186006)(81166006)(316002)(6266002)(478600001)(426003)(8936002)(76176011)(476003)(186003)(11346002)(50466002)(44832011)(106466001)(305945005)(6916009)(2616005)(126002)(81156014)(52956003)(446003)(48376002)(26005)(106002)(5660300001)(356003)(16586007)(6666003)(486006)(103686004)(90966002)(107986001)(217873001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0201MB0686; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; A:1; MX:1; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT004; 1:c+fCUXyAXQieaLXWMuoEOd1GMMQOABBXJcunWd2hRZxQXqxUCPqXdFNgvcjineKx/Q/j1/0Hhe4hxegqcIMowxQjGLld7ZS1NJSu3Zkx2M9SrWAgYBRmF0/eCtVQb6Ug MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060); SRVR:DM2PR0201MB0686; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0686; 3:lqkXUpuII5KGo1IjKbNWKbXfdkM/xa8RNBXUN2SYxc2rVEy8b6xATMOiQx+0rL92jrtdXoWDI8TsA1y/WEE9+Ex2t69lgMJKCQDZYOjaBsniNkhIVrea9dZOSwEvVaxZ6aXxvNWCK4AC/1w1RoHZo8rNvG2Adyjq2H5j7ywld9FkY5KUyFMcirekIfAhj5Ig3AbXh2KgFWTrVc7kT/KdlNnxXWXW2CtR+otj93Q55hZAxe9vn4O7N00PgsPVI8fZUqCIOcOrXM87T+tWcBqEJ7CUUW+QmgoL70U3vBaicEWL14R4IYV3nnoIWBl9OOwxU8+38NDEAaMlKrI3hWygLolYexq/fErgjqRY7iTniQ8=; 25:wCt50EvegNwkRyHhyw2mgRRQXf+CpZOglpz5ZsagfjqTrGB1ErddppMCs9+q3z10P+BtAPZPV83757n8jbCWzLK84u8td+WB85mycqveZ7x590CV5jmoUshpEedlCrG02q3r4v0pvT+sqIZA5NSUFT2pfgFdjv0zpfI1IG76DSFid4vh5Wx6vVhIRJQUAz3jy55AbjZwaFEHNxk1EOHbDJED72qjSO0uDbq9aTYKq+TsBfiVh6IduXzSecPv6NW2MlyQPtlVWC9yuAukiHpDDlkwiK7205gbhydS2aucBP4HDaS6D0j8iT9k68GOgzd0pcrF67UNhcOI0B0ww4gjuQ== X-MS-TrafficTypeDiagnostic: DM2PR0201MB0686: X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0686; 31:wbZYm3FCUO4dFpdASURy5DZmT+rQKUHrcc+0SURfRxcWTNzciM7H9muki9LhiPeRAhwMQs5IEpn/H1b0yaj8ZRH89PKhT3RK9IWkEEbsC4o/il05CBQXfoVhkkF19too04GkmrJONL+TxdFsJyS7i/u7y0K004fl6hHead0yN6Qt4e2iqK/V3kP+5oATPFQBFaB+YmxjRf/jw6l+EfwJ/l/EH5dfADwiafq4jSPRr0s=; 20:WTQ9BNsN4akAoTAq10UdbMpDwoAh6Ae8OSJ19sEJpcon3MQGmDpRyq6qfjD/vZnG8hrLmRa3ecdT2xGf1t/diODHR6Isf99joO2D74Jbib5jKR0o0I4YqhC6hrOPZaj6K2h62sHf/nbKj1qbm2wWNgwC707eQZLoOeHEmLcxILmwWlypDyYjBICZF6uRlO4pFQVYSt20KEMlbTqvtRTeUyN1oWLJ+snoVJCxB+lQ6oTFLJuHubexy6FwXI8m+tstGnXYYc7If13wRg536q00Xbpr7CiUkRvHKDmLwvBM+tU5Uvq/P741p2WzIkS11U4x5uvd1/0MXxIZIH2FehA7Qiu4YgwHKA+gM4icQs3pKIi3kAJi7nQOT/L7tB6jC0VTpRDpL3Ca/1dsaFQ/ywCTzqgO1G79hXnUyKrEaooFqCwTtstXUqINMPwU7JwTN/fa7zcm9hYxVz6UgB78CDF5uL5cgX1oJ2HUivQaDZrfN0bjauGr2pU/tCr13QXBnwKk X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93004095)(3002001)(3231254)(944501410)(52105095)(10201501046)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:DM2PR0201MB0686; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0201MB0686; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0686; 4:WlbKG4ntwoKbpHCq2N5/NOSckhblq4z40Jv8FEbPhEEADVl84Mx2Zxuu61dCC2VJJghtMiRurS7zizF6nWahfIW/1T5Pz823RCC3uvKuHyV0aFZuGm77vsJQw1FidUTK0vInZhqyV4UZtYTB/xJFGGvbjQFRBR5J61k9Jls/B+xygz4UAEECsfSoVyl28yocOKLyMJCZwdQj1EIaEgqCpk2a6Ew6m+uDD7BVAK84WwldQeIrnmnK6lGIGGYF5xXbHJ2NnhCYnv1CDKJdr64oX6KMxVDXD5p5bG2iPxZBhw0+Go7ZNKb0k0mhU9NnI+YM X-Forefront-PRVS: 06628F7CA4 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0201MB0686; 23:FSQ0+HMZjTSfSopAI2RrrTKA872p2gRs0QWjVBW?= =?us-ascii?Q?fp5H5yBzb2Y3wl/jsGtQ6gYuh58urxvZB711HOivGjvbqUp6UwyRvISm1sMQ?= =?us-ascii?Q?HQD9mWN4D7WEw4jLUkMSQMpWgHGu/AoxY/NJk6XmJGg03KGHC4zbD1231OO2?= =?us-ascii?Q?Ak53yUiL97Edrzw6WXupxGRR1j/p3jCzsyflBXgB+CDb1VaJYwF0q+IJAfXa?= =?us-ascii?Q?a7il9SayiqEDnqMowm8omSJD4ckTdke/ncqkdWmPiVe61CToek0CeFA2O5gy?= =?us-ascii?Q?pSylw/HgmcuOAuQ5iPzIWYwKFJqRrvLPy4Sip67PfPelWuz7q87r86slXBbI?= =?us-ascii?Q?yRNnqxHld21DnxnOGjdzRp0g9SIoPJH692kGKXMglgdovIiV+aaphJK07U17?= =?us-ascii?Q?hB/gRiyOkjXt7gd6lYHsyyiSKboA2h9J2pT0DMFoHU0lVO6o1bF+KT1eS6tV?= =?us-ascii?Q?LnFrdJdCC1t66UNcDuqYT76tfedFuOQ99LQj7Qy6ixRIZSs5idsGPq5YTSj8?= =?us-ascii?Q?1aB3vjFZniXK2x/OK0IolMgARXZrHm7iNWfM/c9HEcaBty47OvZMBz5D1L1P?= =?us-ascii?Q?2AG/cOuoabdhSRbxTba8eEoxQEtzebhkfT6bAWryGyjWV6mP2dAeMZQFDnh7?= =?us-ascii?Q?f2qqE80uW9xF6g34u7CwOgbtxhl82zbKFnl/Cz6LVphMvwHIFGreLWf4hXvC?= =?us-ascii?Q?Z2fQykZCZmDeFOVYHtGuQvIdhGBEmyurVfi5B1NrZ8TI+/yhMjN/eqwyGcqT?= =?us-ascii?Q?ORVeS9WPKVaHQA/IG1pVZc0iEHmdcp7+27LZUL//8WsUmrMRniTIMzMPmrGF?= =?us-ascii?Q?BeAI+F5ivRe8htqECFgCc3iH32vjR3CjiQ+484FmsMsESSPA+dE78rU5QxUg?= =?us-ascii?Q?gEil+c9ARcj9SHwXY/lNdl5RyFaiWwlx1sLCfBtSa7f5J6efzqdTJxAlOU/z?= =?us-ascii?Q?LuxK9wm37r2YVOfIH1JbuMT7qti9cFV94TuXX+LeQmYrqtDFivXHolwtas6A?= =?us-ascii?Q?4VEjWGkcY29t7IIG3L5QFOKy4uvRkDbnhGa0QccoScwBuwC8979JCVYEzn2h?= =?us-ascii?Q?PRudKrQmavqUNMuUsoFJl5yz1g/JmQoIqthNGenOU69z/cMxXk629SiUnAGN?= =?us-ascii?Q?mWSOo4Oe0ObCoe2QzNRcsjYseu811Cs3CpBOOZfr7kpYHiJcWkCKtbF0TwWk?= =?us-ascii?Q?dJbuw0fwD9zUa3Po5ybyAWu88ymjWdVNvWse5?= X-Microsoft-Antispam-Message-Info: KZ8k7IXj7fzeGEsodYIah8UIgIRPyLBJPFWRbWdlwlptz63NrLBshFzwan6lMmK0BMJ6aHkwVyhV5/Rp+4jGB7fdKaeiG1wKYD97Y7SojWx+6K0Im6TPzjual+WiIyU2lmrQjAvPsD9VsoM4MBMHtktTxn2PJLgVVVg0OHafkL4joEpC2sCECnH2CNyTwCsS X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0686; 6:tC/qciAS/9USqHwL1ocKkCK5vJ+p7el8ZoI9j9Az7usT0hcbkbOunDk6Pg525UWhTEuLwPAuKYJvnhov5pb8nI8PeTVW6siC01R2f28S1TbI9tI9SbN4OZ+/Lm2l1qSZ255hNzrEqkp7P5rwLBtbxfNKagsLjLh8ERF2PKyoCm0yL4Drc89J8hVz71FuepUdhb3T+l1zXZIJNk6oI8vOg0dqxO+MGHj6VBw7vuUkQKqRqVcSl0Y8kgbjNPaJ8F+9mUyk7Iz+d+jFjLZkrC1RDcxcZid3kaqxeJcJNGPkeARA91Yi7iwtJ6YI0DSTHdkNKIgcvp1HEYUq2Gb/FZlCFJBrxGYIE52jrMMCXJ44d0HjCOFmA0xqZg7iuvYiuN4555ICxYdaMQX5xO/q127hMwmdE74VzAW+bsA5uDSF7RVt7gjRQHbbFggtSfxAQTAp71iVIWC3cjJ9/BWvZRAS5Q==; 5:osyTPYGEMbRWBRgNl/q8OHRLOylUSdtWl1IUALdVV7Kg9XcRfhLRojYix/UtkCmMl6GNjaWOOQFQEUfUZvO/dsPvO1Du9C2i2Ra/6Y7uPteN/iJibvFcJLVZEPs026+DLCgupQcM8gszHiTjxaoYErUezuVpA9l8fJq8vvzl3Ck=; 24:PwH/OkEJZJ41qigCZZi1xbGZLbiQ1aoXU8aT+KKzY1jP8pyE39X8UZVJr7Y/ubJ8ODMZh0bE4QGw0+rgVGa1q1Qbz3qU5wJ4N9VZLU74Mis= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0201MB0686; 7:rcZeXHC38uEtFBVcj2iBIhKWdTagsLkBQ02CydzyVq7RdZYe1OqWwFMv4B2cxlNwYyqcWUuBfND3OHwuCa2rNeAi/XqiyxViovxNkvrSY6Zezg21DZEH/TRANjcmy2aA9WjYvi1WL3pnIuwKW9IfX8ztoezhK0ZX+Rzgbz3fWAYZQEBHMTpOM0nqDE0gUglIDl5gvWGIVj6pkA51LsQIKkt+2JxSuc0oIoOkRVZUQch3okihwQba36QjDIucw8pw X-MS-Office365-Filtering-Correlation-Id: 74ab5ed2-eda3-4f7f-bdb5-08d5b218b356 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2018 23:42:29.6183 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 74ab5ed2-eda3-4f7f-bdb5-08d5b218b356 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0201MB0686 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hyun Kwon Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Enable YUV422 and YUV444 formats by adding to the format table and pattern generation calls. Signed-off-by: Hyun Kwon --- tests/util/format.c | 4 ++++ tests/util/pattern.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/tests/util/format.c b/tests/util/format.c index 15ac5e1..b48594c 100644 --- a/tests/util/format.c +++ b/tests/util/format.c @@ -52,6 +52,10 @@ static const struct util_format_info format_info[] = { /* YUV planar */ { DRM_FORMAT_YUV420, "YU12", MAKE_YUV_INFO(YUV_YCbCr, 2, 2, 1) }, { DRM_FORMAT_YVU420, "YV12", MAKE_YUV_INFO(YUV_YCrCb, 2, 2, 1) }, + { DRM_FORMAT_YUV422, "YU16", MAKE_YUV_INFO(YUV_YCbCr, 2, 1, 1) }, + { DRM_FORMAT_YVU422, "YV16", MAKE_YUV_INFO(YUV_YCrCb, 2, 1, 1) }, + { DRM_FORMAT_YUV444, "YU24", MAKE_YUV_INFO(YUV_YCbCr, 1, 1, 1) }, + { DRM_FORMAT_YVU444, "YV24", MAKE_YUV_INFO(YUV_YCrCb, 1, 1, 1) }, /* RGB16 */ { DRM_FORMAT_ARGB4444, "AR12", MAKE_RGB_INFO(4, 8, 4, 4, 4, 0, 4, 12) }, { DRM_FORMAT_XRGB4444, "XR12", MAKE_RGB_INFO(4, 8, 4, 4, 4, 0, 0, 0) }, diff --git a/tests/util/pattern.c b/tests/util/pattern.c index aa067c9..2805724 100644 --- a/tests/util/pattern.c +++ b/tests/util/pattern.c @@ -487,10 +487,14 @@ static void fill_smpte(const struct util_format_info *info, void *planes[3], width, height, stride); case DRM_FORMAT_YUV420: + case DRM_FORMAT_YUV422: + case DRM_FORMAT_YUV444: return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], planes[2], width, height, stride); case DRM_FORMAT_YVU420: + case DRM_FORMAT_YVU422: + case DRM_FORMAT_YVU444: return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], planes[1], width, height, stride); @@ -772,10 +776,14 @@ static void fill_tiles(const struct util_format_info *info, void *planes[3], width, height, stride); case DRM_FORMAT_YUV420: + case DRM_FORMAT_YUV422: + case DRM_FORMAT_YUV444: return fill_tiles_yuv_planar(info, planes[0], planes[1], planes[2], width, height, stride); case DRM_FORMAT_YVU420: + case DRM_FORMAT_YVU422: + case DRM_FORMAT_YVU444: return fill_tiles_yuv_planar(info, planes[0], planes[2], planes[1], width, height, stride);