Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1740519pxb; Mon, 12 Apr 2021 05:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCspc27f7hSObXV5eZ8qXCW+MC2DD8lx39mpzO//OLxXUWZQlOfQCBfyAYDY9JHfuzN+m5 X-Received: by 2002:a05:6402:51c6:: with SMTP id r6mr28678071edd.278.1618231647411; Mon, 12 Apr 2021 05:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618231647; cv=none; d=google.com; s=arc-20160816; b=qxsC8QINr8GxOofq7jxE+IZq6+DoNHyvEUZSBAyQ99d2gUEVZWDv65EXVoSgz4WPLT bbmpDyRdmfyAJeaGO/zEUwN/Rqm3UeaWEM4vzP4PqdLsxBbWWHzF66nXlWKbBIYGhZd3 8mqI0z8eWNqcTQRBgpGyYt6ACw8Y2pe5kmiiNIK8QIxf1BH3B8vtwqUVq0jWrC6IXOQl XdWmwW3WgOLEqXkQ74UFge2ZMxN20fDH0qLds0CAufXPopPse2agS1Kq+aJ3vpBRZrlt Ij4F3fDFCxWPl1scGDncjjz2AH+3UjuMRO2pDvKdSh8pfpfj4CFXhVuzz4nR4jVBXEqU SnKw== 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=HTbo9LOvsKr7zQEY5uqMoffiu0YiY5n9+Os1+IT0WYo=; b=KlXuzpjyPUpswp6ctg56VH+jjw6asId0xD3qr2a8/RGXiHrGd+Z30+uGYFpaTE44gp hL9YzQHgiOxnKcA3N1EW7gCumDKuKAg8y1BQRCVQK3Z48hpKqwuzDbhLtIv5bNAYbLRa TMHcforWWMmAzqzG8qRhaaYAsJjv46zWPLU1PHzbaUzGOb94V7jSyrVtxfmKtAGH2snE Kzp0ckdM9osXHzlkbqbT89TsxGq8zh5Xo8+3LNXLUp45JT31FlLd1QAWecg2mZ+aQVfu o+qx+KIsG2K1CQqKfVn1Px/etSUJtdQNs7PEnZzyog4k9Tv+tMJj2AVf7QSOzIkslmO8 +3aQ== 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 i17si7906582edc.436.2021.04.12.05.47.04; Mon, 12 Apr 2021 05:47:27 -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 S241236AbhDLMqX (ORCPT + 99 others); Mon, 12 Apr 2021 08:46:23 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:54373 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S237283AbhDLMqW (ORCPT ); Mon, 12 Apr 2021 08:46:22 -0400 X-UUID: 2a1e1c35d99b426ab4382b6af68c593b-20210412 X-UUID: 2a1e1c35d99b426ab4382b6af68c593b-20210412 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1249279532; Mon, 12 Apr 2021 20:46:01 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 12 Apr 2021 20:45:59 +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; Mon, 12 Apr 2021 20:45:58 +0800 From: Irui Wang To: Alexandre Courbot , Hans Verkuil , Andrew-CT Chen , Mauro Carvalho Chehab , Rob Herring , Matthias Brugger CC: Tiffany Lin , Fritz Koenig , Tzung-Bi Shih , Maoguang Meng , Longfei Wang , Yunfei Dong , Irui Wang , , , , , , , Subject: [PATCH v3,0/6] Support H264 4K on MT8192 Date: Mon, 12 Apr 2021 20:45:49 +0800 Message-ID: <20210412124555.26897-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: v3: 1) This patch dependents on "Separating encoder device node"[1] which has already been in linux-next. 2) redefine venc max supported resolution. [1] https://lore.kernel.org/linux-mediatek/20210325122625.15100-1-irui.wang@mediatek.com 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 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 MT8192 H264 4K encoding .../bindings/media/mediatek-vcodec.txt | 3 + .../platform/mtk-vcodec/mtk_vcodec_drv.h | 1 + .../platform/mtk-vcodec/mtk_vcodec_enc.c | 89 +++++++++++-------- .../platform/mtk-vcodec/mtk_vcodec_enc_drv.c | 17 ++++ .../platform/mtk-vcodec/venc/venc_h264_if.c | 4 + 5 files changed, 78 insertions(+), 36 deletions(-) -- 2.25.1