Message ID | 20210312075542.5503-1-irui.wang@mediatek.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=zPgu=IK=lists.infradead.org=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66F11C433DB for <linux-mediatek@archiver.kernel.org>; Fri, 12 Mar 2021 07:56:28 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F13B464F83 for <linux-mediatek@archiver.kernel.org>; Fri, 12 Mar 2021 07:56:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F13B464F83 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=MzmEOJlUCzzGdf9MewXHm7lJwls6ZQIyN7yZgwAvDyA=; b=T39QLcDEqrqV+W66uuAd/8cHu7 rlGjZfDzxmCS3LJtabGyQo3D2Yw+32qqMPIegrjtifRRuWa5Mo4tNrrEsMxGAIV5pJkagH18sPq0G rnW09WXKxuyhdgn8sgxG8SHBfF3ZwRf7YFYVHTeW8TrdN/+5p5PhhM8SEcN1ijKEmWK35xSo5u3B/ 2t1xxFb9+jy8SsoQGnsxemAIUjXXG/Z4kSuzSmC9kPwzTbNUIcE5M74HyIZEOia1sPz7S2JABe06m g6ae4hgj+6i21J1WPkLz6bpF+YvF1sG+VX+2UI+1q7G01L8UqP+amIU1iaGTKovwQ7JwH76T5dNyG wLqAjDUA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKcec-00Ap4T-9X; Fri, 12 Mar 2021 07:56:14 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKceI-00Ap04-MS; Fri, 12 Mar 2021 07:55:59 +0000 X-UUID: ce4f85f7bc62448f896361344c3643cd-20210311 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=v2Adym0u+NjWJHwcu13H4X62o30d2dfGPaRgMxP/Ur8=; b=INiKcyhmBHWxSj+L3B8UqLqc+VjQqWWpQqLNEYSdk49BJFyXMJ+Gs8S9l/TKPsZAIrvyEOREFAlGoHgPF6KX1G6EZ8nbXPrBJWMzqb1xsIgDQOcpccssYExjGIIOkCTaUDyyWlGCTYHA/oxEN3+O4lpNROA/hdCZKa53UtLH4Tc=; X-UUID: ce4f85f7bc62448f896361344c3643cd-20210311 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from <irui.wang@mediatek.com>) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1667082517; Thu, 11 Mar 2021 23:55:49 -0800 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 11 Mar 2021 23:55:48 -0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 12 Mar 2021 15:55:46 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 12 Mar 2021 15:55:45 +0800 From: Irui Wang <irui.wang@mediatek.com> To: Alexandre Courbot <acourbot@chromium.org>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Tiffany Lin <tiffany.lin@mediatek.com>, "Andrew-CT Chen" <andrew-ct.chen@mediatek.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Rob Herring <robh+dt@kernel.org>, Matthias Brugger <matthias.bgg@gmail.com>, Tomasz Figa <tfiga@google.com>, Hsin-Yi Wang <hsinyi@chromium.org>, Maoguang Meng <maoguang.meng@mediatek.com>, "Longfei Wang" <longfei.wang@mediatek.com>, Yunfei Dong <yunfei.dong@mediatek.com>, <yong.wu@mediatek.com> CC: Irui Wang <irui.wang@mediatek.com>, <linux-media@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <srv_heupstream@mediatek.com>, <linux-mediatek@lists.infradead.org> Subject: [PATCH v2,0/5] Support H264 4K on MT8192 Date: Fri, 12 Mar 2021 15:55:37 +0800 Message-ID: <20210312075542.5503-1-irui.wang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_075555_423433_991447A8 X-CRM114-Status: GOOD ( 10.33 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org |
Series |
Support H264 4K on MT8192
|
expand
|
Add MT8192 H264 venc driver and support H264 4K encoding on MT8192. Signed-off-by: Irui Wang <irui.wang@mediatek.com> --- This patch dependents on "dt-bindings: media: mtk-vcodec: Separating mtk vcodec encoder node" [1] We need "core_id" variable in device private data to indicate current encoder driver. Please also accept this patch together with [1]. http://lists.infradead.org/pipermail/linux-mediatek/2021-March/022432.html --- Change since v1: - remove encoder device tree example in dt-bindings --- Irui Wang (5): dt-bindings: media: mtk-vcodec: Add dma-ranges property media: mtk-vcodec: Support 4GB~8GB range iova space for venc dt-bindings: media: mtk-vcodec: Add binding for MT8192 VENC media: mtk-vcodec: Add MT8192 H264 venc driver media: mtk-vcodec: Support H264 4K encoding on MT8192 .../bindings/media/mediatek-vcodec.txt | 3 + .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + .../platform/mtk-vcodec/mtk_vcodec_enc.c | 58 ++++++++++++++----- .../platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 18 ++++++ .../platform/mtk-vcodec/venc/venc_h264_if.c | 4 ++ 5 files changed, 69 insertions(+), 15 deletions(-)