Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1578493pxj; Fri, 4 Jun 2021 19:32:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz31xZqqiLBG1f3U/fXHxGLeKytzMDmaDl3+CWsrsGQsDan3h6hWZ2cuI056AJXfYC3eRDY X-Received: by 2002:a17:906:7ce:: with SMTP id m14mr7153614ejc.444.1622860363493; Fri, 04 Jun 2021 19:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622860363; cv=none; d=google.com; s=arc-20160816; b=bMSxZSVuImf+9Oud/3eRoJd/aO+NFETE72wnvbVCuyobCMCrNnsXu3Cx8y04upaMjf WTgHVjMRR9weZViM9m8gAIlzTB7TmeihKFHqnChIMVk93WhxZs2rb8/2eulvLt9jQLNZ PQa7HkqKlBjZHoYD8LLe2r1Bd2coS2gArWeNixBAnEGlAXN8jjmPFNRiAuBHeK8bcK5V H3mnQZjO1YgTsXR5HuaFlaw8/pm056BGWb9oZyak4yW2zWiIPHJx9QwQSvfwusKMJtLZ 33l+/6KeRnU09o2wxHmi9Hf/nDpbzkptWKxlIjEDeaBWEaY8ZntbYTr2YUkGGRFeocjk Z9dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=WXlo/dumts3PrfcF0ebxDi5IFSBZtkUkQQs/+BdaD3E=; b=AG89qwzlIOzakkp9YuidLzeUf0nrFwwEriT4oQBfD0Ru4vuBm1NWrxjcyHdFVB/qbG 5Bi9UUh7318JPs4VZ0HjUIBVa2W+k8yOVMbE34DpdFFJwYvzRIlYIbn2MtVXSC+tQN/d PBHxV0P6eiYzI+NLEQVu3oYN4GOGLMT9DETHp9ymdM9JeWZ44co2D44p2C+inmGZCMBG V2sB6TZwhEHa5VeHAVrxVc16VNLryW8h58Jn34WfvJNMnOcsXyEQPjGxXfDV37tBaTRO 1enG9jE+2AiKeNQgXmpIfAoGwtJ3BFFfydp12THVYKqpBjdtBNnHNmEDOYetQAr8SNkI 1YRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g11si6102347edw.414.2021.06.04.19.32.21; Fri, 04 Jun 2021 19:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231622AbhFECbW (ORCPT + 99 others); Fri, 4 Jun 2021 22:31:22 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35073 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231565AbhFECbT (ORCPT ); Fri, 4 Jun 2021 22:31:19 -0400 X-UUID: 947f8efeb46944859320c995a0578351-20210605 X-UUID: 947f8efeb46944859320c995a0578351-20210605 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 573427133; Sat, 05 Jun 2021 10:29:30 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 5 Jun 2021 10:29:22 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 5 Jun 2021 10:29:21 +0800 From: Irui Wang To: Alexandre Courbot , Hans Verkuil , Tzung-Bi Shih , Tiffany Lin , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger , Tomasz Figa , Yong Wu CC: Hsin-Yi Wang , Maoguang Meng , Longfei Wang , Yunfei Dong , Fritz Koenig , Irui Wang , , , , , , , Subject: [PATCH v5,0/6] Support H264 4K on MT8192 Date: Sat, 5 Jun 2021 10:29:12 +0800 Message-ID: <20210605022918.4213-1-irui.wang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add MT8192 H264 venc driver and support H264 4K encoding on MT8192. Change notes: v5: rebase on Linux 5.13-rc4 Alexandre Courbot (1): media: mtk-vcodec: venc: remove redundant code Irui Wang (5): dt-bindings: media: mtk-vcodec: Add dma-ranges property media: mtk-vcodec: Support 34bits dma address for venc dt-bindings: media: mtk-vcodec: Add binding for MT8192 VENC media: mtk-vcodec: Add MT8192 H264 venc driver media: mtk-vcodec: Support MT8192 H264 4K encoding .../bindings/media/mediatek-vcodec.txt | 2 + .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + .../platform/mtk-vcodec/mtk_vcodec_enc.c | 92 +++++++++++-------- .../platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 17 ++++ .../platform/mtk-vcodec/venc/venc_h264_if.c | 4 + 5 files changed, 80 insertions(+), 36 deletions(-) -- 2.18.0