Message ID | c2311359a72fb6cfddf73b637dba9857b5c6cef5.1645670589.git.ming.qian@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4CC7C433EF for <linux-arm-kernel@archiver.kernel.org>; Thu, 24 Feb 2022 03:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=K7b6mrueWdrH9LvApXg4OuhyRDuEOeZBiziABT5md3g=; b=Qnt6n4ZT5jQnt8 rFIYC8+nvkb6VW1IQD27VYrhWPJOPs2ZhotwlI9mF26w5V3iFTZ6by9RbyCodDt7ZfkqLpVUZjYah y/cGDwClTcP0LBkQlto6zRDhoqoNoFTpjZmfRcHVMkimlFW/R0sL3IBQFrONS4E62SvNsu9oRQ1li VBkYdgH0//JNFcE3Maq1oRNbGricj9rWohbbrdtxEsM3Osc/X4ujqEBrogZy5DH+BxCkTQRojljvK PWmgrPdQrH4kdEmY6XYgfjQiAV0Hekwh7CzcpGYOfkY344qA4jrbSVV66eVOQiOVf9ywhjc1maqM6 qaNTLsIfmkusCuMs/ZQw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nN4q3-00GcrF-NW; Thu, 24 Feb 2022 03:30:45 +0000 Received: from mail-ve1eur01on0620.outbound.protection.outlook.com ([2a01:111:f400:fe1f::620] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nN4mW-00GbgG-Qi for linux-arm-kernel@lists.infradead.org; Thu, 24 Feb 2022 03:27:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gQT9WAFRWMvGVpwu5+4esYqZI1Wf2E+4V5yQd9zfH+4k9VJUEUyWqZjb7AXsDwFgfrJdCRjaSHH88c6li/5PcXRtbk/egdFDd1j7IfKnA1VYrrivF/0UmOTXYWfgk/FRxExln7Nl0fPED2qz1SIjIZBfjKyBziUo0cR0hjulISErWMfZB3XDTPgxLoTLS1nwkatk+6ycpoVIvYdzEXaky2yl+wG7/jMgihrSINOyFsZF5gKIyyXdskjdLoPetZJShCk2SajHJmxNcAEo2qQFI/PkYvih8iOYWjlW25PCC0cOO7xNKp8hIH1X4t0z3zlvUHezV/MJxlCbcNP6CZ5Sog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ojvTb7Cio1mtUw2r/VSpJmgFC/5vvi1V76g0QleY5Qk=; b=BqtN/xUm2klnYVD8s92Pqlq9ct6ioxw70yRvE6/f7jtSswnDLZJhYajSpoi5vqlyRdStv3G2hm6GSCHNrWLkOc7czuJxhB71UO7YCSP/+aU4I/cZv13zdccnMCbULtrO6qcb2Q2SHypc1MEapfe1Fnoo2NWL0DD/GWUTxH9SG4yp8zRkpdixF+rHh+FhnQOJKkSgZOrACPGlapz7As81aAsuot2hAqgTZnrc+qDW+8n/O8vPpwXsQxpL9VGCCgGB+QyN2FnEwm3MuBlouvO00Uz9+tG8pBVecROF0y3qopbWEQhOplLnOtjiDdYr6IKT2cPSvvnzfIipM62RrEfUfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ojvTb7Cio1mtUw2r/VSpJmgFC/5vvi1V76g0QleY5Qk=; b=hShOHuqbNzVsE5V8oaztz0NfRNvhk3ngcf0WdG78/ZX0sMU/P68DrQ+9CBhVfgIp2W0OYEw/H+Q5mFNIyPiILPvvd9Yk7GAy+YliHO/isWdx0LzhFbUIEzpVZ7v5EpB6/ot9bWTgdPkKb37ppf5U7fZLy6HpntC00V1fs6TknHk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by AM6PR04MB4183.eurprd04.prod.outlook.com (2603:10a6:209:43::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.27; Thu, 24 Feb 2022 03:12:02 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c39:69cf:c4ea:967]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::c39:69cf:c4ea:967%5]) with mapi id 15.20.5017.024; Thu, 24 Feb 2022 03:12:02 +0000 From: Ming Qian <ming.qian@nxp.com> To: mchehab@kernel.org, shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de Cc: hverkuil-cisco@xs4all.nl, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, aisheng.dong@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v18 15/15] media: amphion: add amphion vpu entry in Kconfig and Makefile Date: Thu, 24 Feb 2022 11:10:13 +0800 Message-Id: <c2311359a72fb6cfddf73b637dba9857b5c6cef5.1645670589.git.ming.qian@nxp.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <cover.1645670589.git.ming.qian@nxp.com> References: <cover.1645670589.git.ming.qian@nxp.com> X-ClientProxiedBy: SG2P153CA0029.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::16) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4e827240-53b8-4249-ce4b-08d9f7436dbb X-MS-TrafficTypeDiagnostic: AM6PR04MB4183:EE_ X-Microsoft-Antispam-PRVS: <AM6PR04MB4183042CD894D5A7AAE97575E73D9@AM6PR04MB4183.eurprd04.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ML1mN+1DpJhJ+Klj1UnPB4BPwwozSzpMdaYUQNnpttgOG7xdN0WKJ55HTxdZD1Qma8N2Q+2t50o3CUIw3jfOXtZEsgyoKX6h097S7JDMcbkm8yHdQkzo7C10k3Edzh0TJ9s9hEGS+t5U9sMmyxvJvtf058LmVU2rztT72kFfRUu7a21ty4kIeoI+Bl3lrAxEVUqCpNE1Vxup0hhiVSddm4HYO+j9ER48KLti3Dxli/QA0fxm05YauICvXA56ex+UlNLx87mKDGgI5YPJQLgA7C9yHO1yKhK504tLdGVGur8ESifa8HNPiA9/Wgcf0rb97Sdz9xkzETHLTR7iixn8xr7ji8IcIuOfwf5E0da8YiYfgQPcMttZyrqqcTa78RWysymJfO0g6SnZnN7aBZ6QytpLqWmv8BDcH/3Nh/2m21cI9y/8k7Pa0gF1m/ijLaXCw49iuier8ZUn+qQ9/pedm8bPcWILaiE6qgGQd/pmLcShMq7IUnBxcg+UchZySx2knCqlFErpIG1Ab4sBQV4yCHoEXQ9QNe+XCfX5jZ/XtTuA8mMLLUKDfYbWjhiIvZL8b0YE+d8ij1YXphJopiPE+uLGGmyEcdeHuV88AxrDYNnQwu23f5vUovVsq7+u2dXs9KiRbTfTJrVnPOq3m/VZPR06SeOc4eRspTD996rNhklboM9Mx5IR/1uTHQ+hGx6me1TeEq/ggk2pttTm/mrxfQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB6341.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(2906002)(38350700002)(38100700002)(86362001)(52116002)(186003)(36756003)(6486002)(316002)(2616005)(4326008)(5660300002)(44832011)(8676002)(26005)(6512007)(8936002)(508600001)(66476007)(66946007)(6506007)(7416002)(6666004)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3pTU/8kpDMtSOPJ9kTrUEAmXoXaIIGz7lfuRhT9AVArc11BzZcR7mH75dm8FmvuyIbd2pTtm4cQUqo5zfNLafltjWtJVD5W8387qwFbva/mzaGA35AupJvf44Ze8/ejhyZsRsU0PbVzBSuYSw6T6ftrA/K/v94QfW996JRAh/H23ndnr5d3gnoyN2BQ/Epg3uEYjI/VTp74pBMmxKP7YeAU7PLa++pRzHfM3jwbCWCTTqixKY2rQkSsb5SxgYjVgC9Kf8g8MWuU/J0doaJWh15RcXt6QZDpNiOWf3Tmn9CuUIRgsSLspWNtF7TBrdmtvn+HGvZjwzICAzas/2jePc39VQ9Cg6Npo2kiOxKuHJ8QMavrvTXZARq+L6dTPw7nojhfvvL6VmBkeUkCjkU7rU8peOlTtL+m2IYH4rAO2A65JoVpyi76Op6KlOM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iKzZShX1sFz+rEQpIEjPd0q5Im1SCiEo1qt+i8zbiousWZpIPpTWgOLmOcF31Htvszyhc8Cho5dUhmj3VvVP7TWDzUu/F2O9iKfPx5bUZ3tNxf+6eFMh0= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4e827240-53b8-4249-ce4b-08d9f7436dbb X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 03:12:02.7092 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oW9lQjLH3tuRQOTD9f/Y32910V3IMoIBHPt1tbLdohnIbHgKQri88mXfiys55IudK3+6cLJqid7RCYLafaNuTw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4183 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220223_192704_913963_C9379487 X-CRM114-Status: GOOD ( 10.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
amphion video decoder/encoder driver
|
expand
|
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 9fbdba0fd1e7..9de9579d0fc7 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -630,6 +630,25 @@ config VIDEO_SUN8I_ROTATE Support for the Allwinner DE2 rotation unit. To compile this driver as a module choose m here. +config VIDEO_AMPHION_VPU + tristate "Amphion VPU (Video Processing Unit) Codec IP" + depends on ARCH_MXC || COMPILE_TEST + depends on MEDIA_SUPPORT + depends on VIDEO_DEV + depends on VIDEO_V4L2 + select MEDIA_CONTROLLER + select V4L2_MEM2MEM_DEV + select VIDEOBUF2_DMA_CONTIG + select VIDEOBUF2_VMALLOC + help + Amphion VPU Codec IP contains two parts: Windsor and Malone. + Windsor is encoder that supports H.264, and Malone is decoder + that supports H.264, HEVC, and other video formats. + This is a V4L2 driver for NXP MXC 8Q video accelerator hardware. + It accelerates encoding and decoding operations on + various NXP SoCs. + To compile this driver as a module choose m here. + endif # V4L_MEM2MEM_DRIVERS # TI VIDEO PORT Helper Modules diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 28eb4aadbf45..c7fefccebeeb 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -89,3 +89,5 @@ obj-$(CONFIG_VIDEO_QCOM_VENUS) += qcom/venus/ obj-y += sunxi/ obj-$(CONFIG_VIDEO_MESON_GE2D) += meson/ge2d/ + +obj-$(CONFIG_VIDEO_AMPHION_VPU) += amphion/
Add V4L2 driver entry for the amphion vpu encoder/decoder. Signed-off-by: Ming Qian <ming.qian@nxp.com> --- drivers/media/platform/Kconfig | 19 +++++++++++++++++++ drivers/media/platform/Makefile | 2 ++ 2 files changed, 21 insertions(+)