[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220518123004.18286-1-yunfei.dong@mediatek.com>
Date: Wed, 18 May 2022 20:29:57 +0800
From: Yunfei Dong <yunfei.dong@...iatek.com>
To: Yunfei Dong <yunfei.dong@...iatek.com>,
Alexandre Courbot <acourbot@...omium.org>,
Nicolas Dufresne <nicolas@...fresne.ca>,
"Hans Verkuil" <hverkuil-cisco@...all.nl>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Benjamin Gaignard <benjamin.gaignard@...labora.com>,
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>,
Tomasz Figa <tfiga@...gle.com>
CC: George Sun <george.sun@...iatek.com>,
Xiaoyong Lu <xiaoyong.lu@...iatek.com>,
Hsin-Yi Wang <hsinyi@...omium.org>,
Fritz Koenig <frkoenig@...omium.org>,
Daniel Vetter <daniel@...ll.ch>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Irui Wang <irui.wang@...iatek.com>,
"Steve Cho" <stevecho@...omium.org>, <linux-media@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>,
<Project_Global_Chrome_Upstream_Group@...iatek.com>
Subject: [PATCH v7, 0/7] support mt8195 decoder
Firstly, add mt8195 soc lat hardware and compatible, then add documents.
For vp8 only support MM21 mode, H264/vp9 support MT21C, need to separate
them. Lastly, enable H264 inner racing mode to reduce hardware latency.
Patch 1~4 add mt8195 soc lat hardware and compatible, then add documents.
Patch 5 using different format for different codecs.
Patch 6 prevent kernel crash when scp reboot.
Patch 7 enable H264 inner racing mode to reduce hardware latency.
---
This patch depends on "add h264 decoder driver for mt8186"[1]
[1] https://patchwork.kernel.org/project/linux-mediatek/cover/20220512034620.30500-1-yunfei.dong@mediatek.com/
---
changed with v6:
- add detail error message in patch 6.
changed with v5:
- fix __iomem not reasonable, align share memory to dram.
changed with v4:
- fix sparse and smatch check fail for patch 7.
changed with v3:
- rebase driver to the latest media_stage.
changed with v2:
- add detail explanation for lat soc hardware for patch 1.
changed with v1:
- separate "Init VP9 stateless decode params" patch and remove it to another one.
- add reviewed-by in patch v3/v4/v6
---
Yunfei Dong (7):
dt-bindings: media: mediatek: vcodec: Adds decoder dt-bindings for lat
soc
media: mediatek: vcodec: Add to support lat soc hardware
dt-bindings: media: mediatek: vcodec: Adds decoder dt-bindings for
mt8195
media: mediatek: vcodec: Adds compatible for mt8195
media: mediatek: vcodec: Different codec using different capture
format
media: mediatek: vcodec: prevent kernel crash when scp ipi timeout
media: mediatek: vcodec: Add to support H264 inner racing mode
.../media/mediatek,vcodec-subdev-decoder.yaml | 52 +++++++++++++------
.../platform/mediatek/vcodec/mtk_vcodec_dec.c | 41 +++++++++++++++
.../mediatek/vcodec/mtk_vcodec_dec_drv.c | 8 +++
.../mediatek/vcodec/mtk_vcodec_dec_hw.c | 12 +++--
.../mediatek/vcodec/mtk_vcodec_dec_hw.h | 2 +
.../mediatek/vcodec/mtk_vcodec_dec_pm.c | 50 ++++++++++++++++++
.../platform/mediatek/vcodec/mtk_vcodec_drv.h | 12 +++++
.../vcodec/vdec/vdec_h264_req_multi_if.c | 25 +++++++--
.../platform/mediatek/vcodec/vdec_vpu_if.c | 5 ++
9 files changed, 183 insertions(+), 24 deletions(-)
--
2.18.0
Powered by blists - more mailing lists