[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220720085731.11011-1-irui.wang@mediatek.com>
Date: Wed, 20 Jul 2022 16:57:25 +0800
From: Irui Wang <irui.wang@...iatek.com>
To: Hans Verkuil <hverkuil-cisco@...all.nl>,
Alexandre Courbot <acourbot@...omium.org>,
Tiffany Lin <tiffany.lin@...iatek.com>,
"Andrew-CT Chen" <andrew-ct.chen@...iatek.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
<angelogioacchino.delregno@...labora.com>
CC: Maoguang Meng <maoguang.meng@...iatek.com>,
Longfei Wang <longfei.wang@...iatek.com>,
Yunfei Dong <yunfei.dong@...iatek.com>,
"Irui Wang" <irui.wang@...iatek.com>,
<linux-media@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<srv_heupstream@...iatek.com>,
<linux-mediatek@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: [PATCH v2, 0/6] support mt8188 h264 encoder
mt8188 encoder hardware has a change compared to the previous
chipsets, it supports 34-bit iova access. For 34-bit iova, the
encoder driver needs to write all 34 bits to hardware, otherwise
encoder will encode fail.
Patch 1 add the 34-bit iova supporting in driver.
Patch 2~3 add dt-bindings and driver compatible and private data.
Patch 4~6 some modification for in driver.
---
compare with v1:
- split vpu_enc_encode function into 32bits and 34bits.
- some review comments modification.
---
Irui Wang (6):
media: mediatek: vcodec: Add encoder driver support for 34-bit iova
dt-bindings: media: mediatek: vcodec: Add encoder dt-bindings for
mt8188
media: mediatek: vcodec: Add mt8188 encoder driver
media: mediatek: vcodec: Remove encoder driver get IRQ resource
media: mediatek: vcodec: Fix bitstream crop information error
media: mediatek: vcodec: Use ctx vb2_queue mutex instead of device
mutex
.../media/mediatek,vcodec-encoder.yaml | 1 +
.../platform/mediatek/vcodec/mtk_vcodec_drv.h | 6 +
.../platform/mediatek/vcodec/mtk_vcodec_enc.c | 14 +-
.../mediatek/vcodec/mtk_vcodec_enc_drv.c | 22 +-
.../mediatek/vcodec/venc/venc_h264_if.c | 200 +++++++++++++++---
.../platform/mediatek/vcodec/venc_ipi_msg.h | 24 +++
.../platform/mediatek/vcodec/venc_vpu_if.c | 76 ++++++-
7 files changed, 291 insertions(+), 52 deletions(-)
--
2.18.0
Powered by blists - more mailing lists