Message ID | 1516932247-10750-9-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 B527660211 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2B4528C40 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9754B28C46; Fri, 26 Jan 2018 02:04:25 +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 4CB8028C40 for <patchwork-dri-devel@patchwork.kernel.org>; Fri, 26 Jan 2018 02:04:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7D8FF6E097; Fri, 26 Jan 2018 02:04:20 +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-bl2nam02on0082.outbound.protection.outlook.com [104.47.38.82]) by gabe.freedesktop.org (Postfix) with ESMTPS id E5E8F6E08B for <dri-devel@lists.freedesktop.org>; Fri, 26 Jan 2018 02:04:18 +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=E7zxGUHD5cRhMMStuoGNw7ZiM2qfGx+Y9MT3PT6tLCU=; b=VUUFCjPHi3WjkmXI5K4R2IIYlhmdREQHadjje3//0gqQnEIrT92sTpJ5FPR/sEjuDycf1Q8hcb2aWTN/ZW6v4CZVc7nJ4ZAt7KhraAAhrV4/ZlymW6RDnmW+3aY7SoD3sPFnHSW+O6IR4JmW6uExkE29qtiQ572eMiSKT9aLM/8= Received: from SN4PR0201CA0004.namprd02.prod.outlook.com (10.161.238.142) by BN6PR02MB3379.namprd02.prod.outlook.com (10.161.153.10) 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 SN1NAM02FT017.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::203) by SN4PR0201CA0004.outlook.office365.com (2603:10b6:803:2b::14) 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:16 +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 SN1NAM02FT017.mail.protection.outlook.com (10.152.72.115) 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]:57896 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <hyun.kwon@xilinx.com>) id 1eetNH-0003On-UD; 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-0002nE-Ko; Thu, 25 Jan 2018 18:04:15 -0800 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w0Q24Eja016050; 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-0002mE-9b; Thu, 25 Jan 2018 18:04:14 -0800 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id 482B32C693D; 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 08/10] drm: xlnx: zynqmp: Add XV15 and XV20 formats Date: Thu, 25 Jan 2018 18:04:05 -0800 Message-ID: <1516932247-10750-9-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)(39380400002)(39860400002)(396003)(346002)(376002)(2980300002)(438002)(189003)(199004)(8676002)(6266002)(107886003)(316002)(54906003)(50466002)(356003)(186003)(52956003)(39060400002)(81166006)(6666003)(50226002)(48376002)(81156014)(336011)(6916009)(8936002)(2950100002)(478600001)(90966002)(42186006)(63266004)(305945005)(51416003)(106466001)(106002)(16586007)(47776003)(36756003)(2906002)(2351001)(103686004)(4326008)(5660300001)(76176011)(26005)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB3379; 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; SN1NAM02FT017; 1:kCkEcBXx60oBiS4GdRurrK6D2V7bb8P2nt0eZWnQXndnBmP3domwLk+wItpt4aDqrKp9pcThuUEAmEhQ6RMgAS/q2Ti435GCYix4vxFSd+yZjlCIeAm+njKkVkij5Lx8 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb9970c7-c062-4046-533c-08d564611ada X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:BN6PR02MB3379; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB3379; 3:ADyROCcT/mGRFqg8kOemu2oCO3ZraVOWAGWqjQotAYQ9dyQxALwiESSDcsV3OO+HnAM4I78ICC23sfOD0EvyjJcNCSI2AFXAX+zuMQGeZwG/gusfsTxGreheaVA5bQa1NcWmKwFglZaeTgtIOi5ZuK4UIBHIeYbbz71BrH9PIMLVGtsumXmhnAjWNQOWGa9hSWJkiYHDW+/kF0BzkBMQm7ZViBc/4mN2D89arg9IDu/RGheaeN2YbxcqNqE2bBEjVTfC+mB0RVe5uxxoMk6CPlqEeox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oY4jvP2DTeunr9kKH4NiQ7Si2b+hxowTnAgpqXgdYm9g0+Wr3+FaVv3RBhrTUL5LT0M04RQ0lCv43vN1eQgJ7cG1fP+PWAVXgZQaFK6lgQzAyfBWxlbR0h+4Exx4SF4PQ8tAiBQUDCikb9qSkjZlcX6M19WSPXALTFViaZtRlqsKKG0k67T X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <BN6PR02MB33792B93792BA5444EF7F0C9D6E00@BN6PR02MB3379.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)(10201501046)(3002001)(3231023)(2400081)(944501161)(93006095)(93004095)(6055026)(6041288)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011); SRVR:BN6PR02MB3379; BCL:0; PCL:0; RULEID:; SRVR:BN6PR02MB3379; X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB3379; 4:xeW0+6Un85vpD3nGv1NlW2BM9c+1KXoDNYYpy7bUz4hOxxyafp5UaKSCmyga34fW/rLigJfHbfKBnys1H9xdJeXCGb1qUgckyCBlH4s/3iVVqmjh8rxEK9eu+5HkseEvclGqmv56LmwuPBlnvXUYzmuTc0NuRw2ZapIiP5pGZrL2vl79kAmxLYJZFEY+Nr33lOtQ2q7tuco6k/rw43Jr3g+tYHv0AcuquVlNeSfl5ljuk6XrCN2E4JYzLQDXRpn6YEjBbHKbk9B8UP7Zt/0FQL65FJPakN57O+Q7ZnDcnR5sYRDf82OGQscK4SdZ+V9M X-Forefront-PRVS: 05641FD966 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR02MB3379; 23:m4VeuSMlbPTLPu5bcadU/KJhoAVNRXdn8zchVliL6?= =?us-ascii?Q?qECJOQEmTfr2TdVTyWpZk0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bFXKXMMJH1AvV3fMbyHIUenY0dVr8NfHnXf5EAg8rwaioxPEhY0UOim8HHhOex7Wix41v3W3KTJu+qfLmCBcJrUxJ4D31kk5JcyVht1CuqelvcP/PJ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 02:04:16.5414 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cb9970c7-c062-4046-533c-08d564611ada 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: BN6PR02MB3379 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> 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/drivers/gpu/drm/xlnx/zynqmp_disp.c b/drivers/gpu/drm/xlnx/zynqmp_disp.c index fd6ddfe..b1aaa71 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_disp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_disp.c @@ -968,6 +968,24 @@ static const struct zynqmp_disp_fmt av_buf_vid_fmts[] = { .sf[0] = ZYNQMP_DISP_AV_BUF_8BIT_SF, .sf[1] = ZYNQMP_DISP_AV_BUF_8BIT_SF, .sf[2] = ZYNQMP_DISP_AV_BUF_8BIT_SF, + }, { + .drm_fmt = DRM_FORMAT_XV15, + .disp_fmt = ZYNQMP_DISP_AV_BUF_FMT_NL_VID_YV16CI_420_10, + .rgb = false, + .swap = false, + .chroma_sub = true, + .sf[0] = ZYNQMP_DISP_AV_BUF_10BIT_SF, + .sf[1] = ZYNQMP_DISP_AV_BUF_10BIT_SF, + .sf[2] = ZYNQMP_DISP_AV_BUF_10BIT_SF, + }, { + .drm_fmt = DRM_FORMAT_XV20, + .disp_fmt = ZYNQMP_DISP_AV_BUF_FMT_NL_VID_YV16CI_10, + .rgb = false, + .swap = false, + .chroma_sub = true, + .sf[0] = ZYNQMP_DISP_AV_BUF_10BIT_SF, + .sf[1] = ZYNQMP_DISP_AV_BUF_10BIT_SF, + .sf[2] = ZYNQMP_DISP_AV_BUF_10BIT_SF, } };
Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com> --- drivers/gpu/drm/xlnx/zynqmp_disp.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)