From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
To: Irui Wang <irui.wang@mediatek.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
wenst@chromium.org, angelogioacchino.delregno@collabora.com,
Tiffany Lin <tiffany.lin@mediatek.com>,
kyrie wu <kyrie.wu@mediatek.com>
Cc: Yunfei Dong <yunfei.dong@mediatek.com>,
Maoguang Meng <maoguang.meng@mediatek.com>,
Longfei Wang <longfei.wang@mediatek.com>,
Project_Global_Chrome_Upstream_Group@mediatek.com,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v5 0/6] Add support for MT8196 video encoder
Date: Thu, 19 Mar 2026 16:23:02 -0400 [thread overview]
Message-ID: <8416ef57d9a8f40fabe3f759d5a25ed6aa9787fc.camel@collabora.com> (raw)
In-Reply-To: <20260302035244.8994-1-irui.wang@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3581 bytes --]
Hi,
Le lundi 02 mars 2026 à 11:52 +0800, Irui Wang a écrit :
> This patch series add support for MT8196 video encoder.
> patch 1~3: Add a new encoder driver interface for new VCP firmware.
> patch 4: Add new encoder driver platform data.
> patch 5: Add dt-bindings.
> patch 6: Add compatible data.
>
> About adding new driver support, the v4l2-compliance report shows:
> "Total for mtk-vcodec-enc device /dev/video3: 47, Succeeded: 46, Failed: 1, Warnings: 0"
> The 1 Failed case is not caused by current patch set:
> fail: v4l2-test-controls.cpp(1171): node->codec_mask & STATEFUL_ENCODER
> test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: FAIL
>
> This patch set depends on "media: mediatek: vcodec: support video decoder in mt8196"[1]
>
> [1] https://patchwork.linuxtv.org/project/linux-media/list/?series=21718
This set obviously does not apply as it has this dependency. The dependency had
issues, and I just asked it to be rebased on the MT8189 series, which include
the refactoring needed and common to both. Please coordinate, the faster I get
an update for MT8189, the faster these two MT8196 will be picked.
regards,
Nicolas
>
> Change in v5:
> - Rewrite patch5 commit subject.
> - Add else statement in patch5.
> - Link to v4: https://patchwork.linuxtv.org/project/linux-media/list/?series=21757
>
> Change in v4:
> - Rework patch3 commit message.
> - Rework patch5 commit with more details.
> - Rebase patch onto decoder's patch set.
> - Link to v3: https://patchwork.linuxtv.org/project/linux-media/cover/20250814085642.17343-1-kyrie.wu@mediatek.com/
>
> Change in v3:
> - Add venc rc buffer alloc failure error handling.
> - Add mediatek,vcp property definition in dt-bindning.
>
> Change in v2:
> - Add support for VCP encode process.
> - Add MT8196 encoder driver platform data.
> - Rebase encoder patch onto decoder's patch set.
> - Fix some review comments in v1.
>
> Irui Wang (6):
> media: mediatek: encoder: Add a new encoder driver interface
> media: mediatek: encoder: Add support for common firmware interface
> media: mediatek: encoder: Add support for VCP encode process
> media: mediatek: encoder: Add a new platform data member
> media: dt-bindings: mediatek,vcodec-encoder: Add MT8196
> media: mediatek: encoder: Add MT8196 encoder compatible data
>
> .../media/mediatek,vcodec-encoder.yaml | 22 +
> .../mediatek/vcodec/common/mtk_vcodec_fw.c | 19 +
> .../mediatek/vcodec/common/mtk_vcodec_fw.h | 2 +
> .../vcodec/common/mtk_vcodec_fw_priv.h | 1 +
> .../vcodec/common/mtk_vcodec_fw_vcp.c | 6 +
> .../platform/mediatek/vcodec/encoder/Makefile | 1 +
> .../mediatek/vcodec/encoder/mtk_vcodec_enc.c | 36 +-
> .../vcodec/encoder/mtk_vcodec_enc_drv.c | 28 +
> .../vcodec/encoder/mtk_vcodec_enc_drv.h | 15 +-
> .../vcodec/encoder/venc/venc_common_if.c | 683 ++++++++++++++++++
> .../vcodec/encoder/venc/venc_h264_if.c | 8 +-
> .../mediatek/vcodec/encoder/venc_drv_if.c | 3 +-
> .../mediatek/vcodec/encoder/venc_drv_if.h | 11 +-
> .../mediatek/vcodec/encoder/venc_ipi_msg.h | 26 +
> .../mediatek/vcodec/encoder/venc_vpu_if.c | 47 +-
> 15 files changed, 856 insertions(+), 52 deletions(-)
> create mode 100644 drivers/media/platform/mediatek/vcodec/encoder/venc/venc_common_if.c
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2026-03-19 20:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-02 3:52 [PATCH v5 0/6] Add support for MT8196 video encoder Irui Wang
2026-03-02 3:52 ` [PATCH v5 1/6] media: mediatek: encoder: Add a new encoder driver interface Irui Wang
2026-03-02 3:52 ` [PATCH v5 2/6] media: mediatek: encoder: Add support for common firmware interface Irui Wang
2026-03-02 3:52 ` [PATCH v5 3/6] media: mediatek: encoder: Add support for VCP encode process Irui Wang
2026-03-02 3:52 ` [PATCH v5 4/6] media: mediatek: encoder: Add a new platform data member Irui Wang
2026-03-02 3:52 ` [PATCH v5 5/6] media: dt-bindings: mediatek,vcodec-encoder: Add MT8196 Irui Wang
2026-03-11 23:01 ` Rob Herring (Arm)
2026-03-19 20:17 ` Nicolas Dufresne
2026-03-02 3:52 ` [PATCH v5 6/6] media: mediatek: encoder: Add MT8196 encoder compatible data Irui Wang
2026-03-19 20:23 ` Nicolas Dufresne [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8416ef57d9a8f40fabe3f759d5a25ed6aa9787fc.camel@collabora.com \
--to=nicolas.dufresne@collabora.com \
--cc=Project_Global_Chrome_Upstream_Group@mediatek.com \
--cc=angelogioacchino.delregno@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil-cisco@xs4all.nl \
--cc=irui.wang@mediatek.com \
--cc=krzk+dt@kernel.org \
--cc=kyrie.wu@mediatek.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=longfei.wang@mediatek.com \
--cc=maoguang.meng@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=tiffany.lin@mediatek.com \
--cc=wenst@chromium.org \
--cc=yunfei.dong@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox