Message ID | 1516932247-10750-7-git-send-email-hyun.kwon@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 3FBE660211 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C53C28C46 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 20E7A28C4D; Fri, 26 Jan 2018 02:04:29 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, 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 C9A4228C46 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BDD226E0D3; Fri, 26 Jan 2018 02:04:23 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0078.outbound.protection.outlook.com [104.47.33.78]) by gabe.freedesktop.org (Postfix) with ESMTPS id 661FF6E0D3 for <dri-devel@lists.freedesktop.org>; Fri, 26 Jan 2018 02:04:20 +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=pfWfoyS9ImuEq4xShrfRPQ0fN/urT9K8GFr+UA81KHo=; b=uJ6v72uVnsHdHG32kwgWZVF+0wqPidjbN1oiHxdGsOS2QQYWrKAaiLBe8ahMs4WDgjN9FV8xE4tJm0p5PhTJMp6udQ+nrgZZM84Lv+qn/eBgICUCw8QpVPd7oDoWbdTFqF0e+T9uAAohVi0WRSLNbEzpsZFcAVjyXsFEc9thgLU= Received: from CY4PR02CA0003.namprd02.prod.outlook.com (10.169.188.13) by CY1PR02MB1334.namprd02.prod.outlook.com (10.161.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.444.14; Fri, 26 Jan 2018 02:04:17 +0000 Received: from BL2NAM02FT014.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::202) by CY4PR02CA0003.outlook.office365.com (2603:10b6:903:18::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Fri, 26 Jan 2018 02:04:17 +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 BL2NAM02FT014.mail.protection.outlook.com (10.152.76.154) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.444.13 via Frontend Transport; Fri, 26 Jan 2018 02:04:16 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:57901 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <hyun.kwon@xilinx.com>) id 1eetNH-0003Os-VE; Thu, 25 Jan 2018 18:04:15 -0800 Received: from [127.0.0.1] (helo=xsj-smtp-dlp1.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <hyun.kwon@xilinx.com>) id 1eetNH-0002nI-Np; Thu, 25 Jan 2018 18:04:15 -0800 Received: from xsj-pvapsmtp01 (mailhub.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w0Q24E4Y016041; Thu, 25 Jan 2018 18:04:14 -0800 Received: from [172.19.2.244] (helo=xsjhyunkubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <hyunk@smtp.xilinx.com>) id 1eetNG-0002mA-8m; Thu, 25 Jan 2018 18:04:14 -0800 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id 41B8D2C693D; Thu, 25 Jan 2018 18:04:14 -0800 (PST) From: Hyun Kwon <hyun.kwon@xilinx.com> To: <dri-devel@lists.freedesktop.org> Subject: [RFC v2 06/10] uapi: drm: New fourcc codes needed by Xilinx Video IP Date: Thu, 25 Jan 2018 18:04:03 -0800 Message-ID: <1516932247-10750-7-git-send-email-hyun.kwon@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516932247-10750-1-git-send-email-hyun.kwon@xilinx.com> References: <1516932247-10750-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-23618.006 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)(39860400002)(396003)(39380400002)(376002)(346002)(2980300002)(438002)(189003)(199004)(90966002)(76176011)(356003)(51416003)(4326008)(305945005)(63266004)(6266002)(107886003)(103686004)(81156014)(8936002)(36756003)(8676002)(81166006)(39060400002)(50226002)(6916009)(5660300001)(2906002)(47776003)(52956003)(2351001)(50466002)(42186006)(16586007)(54906003)(478600001)(106466001)(186003)(6666003)(316002)(48376002)(106002)(2950100002)(26005)(336011)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1334; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT014; 1:U3QzXNSVB0GQAJ6/zDkemx0vKQ6ihGuEwF6nuQQZuBpSOTwMKnZlN22SCnVENqiphIxvmFn/oOB/c4EghRwIHBkKlumyJcAXLyEBzTr/7OTJlqCElcGlhXERCeon/hLS MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 879627b8-8e1d-48ca-1046-08d564611ac4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:CY1PR02MB1334; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1334; 3:W4/0sFMpH3RIg5HY/vzcVd9ZRmhiC/53EegZ0PLTMKMzxBDaHWb/CgL+xjjjwlqiqPvvERCi7+6eM/TeoHfd6Ee2jLP4QwfSZkPLor0v29Kziqy9JzigAznXlowj7I4aMefzUgzenKQZGVI/3QpFTC/takS0y4WsxSj1Ql8SuZzxONKGHvX2nAk63DUJzLzuVcpyxmPSVv209hIMmlyZQKbE8RH+GaWQqHAouyOWxJME79Ip44QRBapLutn7eoc4wGzQ0nOILHUMdhHnWDnkkMqqXyk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4HwEG7ncm96J7PyU5clupW4EdfelVzNj4cvs5G/XuntSv+gpalgejWXxR/3t/OxQ/yfbCLX5eoos/VFdd9GaBRI+wv5b/H8mQlEJy+CeqFb4Md/5IunO82C/xfGu+cGLsAAaGC+O1bOYO4EANYbsgFUgoh5xmGyAaRbl X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <CY1PR02MB1334AAA90CC910729045F4BFD6E00@CY1PR02MB1334.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(93004095)(10201501046)(3231023)(2400081)(944501161)(6055026)(6041288)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:CY1PR02MB1334; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1334; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1334; 4:yF25GW/SxsjKNwkubzEDCeeKCPNY1eS5lep5PFnSnwsKgw9fuOzFmucrAy7Um/JSjFlVQph06MrMZERHk4QxBpocjMtuw2fpLiseir5MbarSq6arjsHzMsMWIL3DgCC3tNgMyhyLgogMChJEgDhbjeCzuS41U8imAgkTWOWRyrOQ/c2VXRpjEDGDGvcHEOSWHVJa8pEn7UQY3xfzgVr+V2BTn9B6HDwIT6ddlljmwjODtXX6vWFQnluUC5GQt+7XS97w5niR/KMKcEAo4bTwTQqVk0PmLrfa0Eb0grT/qeoHtqtAZ+uOHYQHkZTPYdyL X-Forefront-PRVS: 05641FD966 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR02MB1334; 23:ISDf8+U+hrBY4liPf1+w14DDec5dqC45GGZMmCS06?= =?us-ascii?Q?RiWEcbfT6mXypN3RlsKZSUZ9Ol3oHvx2sBm7XgdsSebJDZ2Amk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CGUK6IuEzSbkqskCEZdokrK/o+ATyzRmqmhPekTDg+ZgiqYFIF4vg3iBqcBUJqGbf54A SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 02:04:16.4580 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 879627b8-8e1d-48ca-1046-08d564611ac4 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: CY1PR02MB1334 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Hyun Kwon <hyun.kwon@xilinx.com>, Daniel Vetter <daniel.vetter@ffwll.ch>, Emil Velikov <emil.l.velikov@gmail.com>, Michal Simek <michal.simek@xilinx.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Jeffrey Mouroux <jmouroux@xilinx.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index e04613d..6ac5282 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -142,6 +142,14 @@ extern "C" { #define DRM_FORMAT_NV42 fourcc_code('N', 'V', '4', '2') /* non-subsampled Cb:Cr plane */ /* + * 2 plane 10 bit per component YCbCr + * index 0 = Y plane, [31:0] x:Y2:Y1:Y0 2:10:10:10 little endian + * index 1 = Cb:Cr plane, [63:0] x:Cb2:Cr2:Cb1:x:Cr1:Cb0:Cr0 2:10:10:10:2:10:10:10 little endian + */ +#define DRM_FORMAT_XV15 fourcc_code('X', 'V', '1', '5') /* 2x2 subsampled Cb:Cr plane 2:10:10:10 */ +#define DRM_FORMAT_XV20 fourcc_code('X', 'V', '2', '0') /* 2x1 subsampled Cb:Cr plane 2:10:10:10 */ + +/* * 3 plane YCbCr * index 0: Y plane, [7:0] Y * index 1: Cb plane, [7:0] Cb