From: Alexandre Courbot <acourbot@chromium.org>
To: Tiffany Lin <tiffany.lin@mediatek.com>,
Andrew-CT Chen <andrew-ct.chen@mediatek.com>,
Rui Wang <gtk_ruiwang@mediatek.com>,
Yunfei Dong <yunfei.dong@mediatek.com>,
Pi-Hsun Shih <pihsun@chromium.org>,
Maoguang Meng <maoguang.meng@mediatek.com>
Cc: linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-kernel@vger.kernel.org,
Alexandre Courbot <acourbot@chromium.org>
Subject: [PATCH 0/9] media: mtk-vcodec: vdec: support for MT8183
Date: Tue, 30 Jun 2020 15:27:02 +0900 [thread overview]
Message-ID: <20200630062711.4169601-1-acourbot@chromium.org> (raw)
This patch series adds support for the H.264 stateless decoder found in MT8183.
It depends on the MT8183 encoder support series [1] and should thus be applied
on top of it.
Contrary to MT8173 which is stateful, MT8183 is a stateless decoder. So the
first patches take care of splitting the stateful-relevant code into its own
source file, and to add support for the stateless API. Then support for sending
the H.264 decoder is added, taking advantage of the H.264 helper functions to
build the reference lists.
No regressions to v4l2-compliance have been introduced by this series for
MT8173, and we could also confirm that decoding was still working as expected
on this chip. Following this series will be another one that fixes the remaining
v4l2-compliance issues for both encoder and decoder.
[1] https://lkml.org/lkml/2020/6/26/152
Alexandre Courbot (4):
media: mtk-vcodec: vdec: handle firmware version field
media: mtk-vcodec: support version 2 of decoder firmware ABI
media: add Mediatek's MM21 format
dt-bindings: media: document mediatek,mt8183-vcodec-dec
Yunfei Dong (5):
media: mtk-vcodec: vdec: move stateful ops into their own file
media: mtk-vcodec: vdec: support stateless API
media: mtk-vcodec: vdec: support stateless H.264 decoding
media: mtk-vcodec: vdec: add media device if using stateless api
media: mtk-vcodec: enable MT8183 decoder
.../bindings/media/mediatek-vcodec.txt | 1 +
drivers/media/platform/Kconfig | 2 +
drivers/media/platform/mtk-vcodec/Makefile | 3 +
.../platform/mtk-vcodec/mtk_vcodec_dec.c | 763 +++--------------
.../platform/mtk-vcodec/mtk_vcodec_dec.h | 28 +-
.../platform/mtk-vcodec/mtk_vcodec_dec_drv.c | 54 +-
.../mtk-vcodec/mtk_vcodec_dec_stateful.c | 634 ++++++++++++++
.../mtk-vcodec/mtk_vcodec_dec_stateless.c | 469 ++++++++++
.../platform/mtk-vcodec/mtk_vcodec_drv.h | 50 ++
.../mtk-vcodec/vdec/vdec_h264_req_if.c | 802 ++++++++++++++++++
.../media/platform/mtk-vcodec/vdec_drv_if.c | 3 +
.../media/platform/mtk-vcodec/vdec_drv_if.h | 1 +
.../media/platform/mtk-vcodec/vdec_ipi_msg.h | 23 +-
.../media/platform/mtk-vcodec/vdec_vpu_if.c | 43 +-
.../media/platform/mtk-vcodec/vdec_vpu_if.h | 5 +
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
17 files changed, 2226 insertions(+), 657 deletions(-)
create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateful.c
create mode 100644 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_stateless.c
create mode 100644 drivers/media/platform/mtk-vcodec/vdec/vdec_h264_req_if.c
--
2.27.0.212.ge8ba1cc988-goog
next reply other threads:[~2020-06-30 6:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-30 6:27 Alexandre Courbot [this message]
2020-06-30 6:27 ` [PATCH 1/9] media: mtk-vcodec: vdec: move stateful ops into their own file Alexandre Courbot
2020-06-30 6:27 ` [PATCH 2/9] media: mtk-vcodec: vdec: handle firmware version field Alexandre Courbot
2020-06-30 6:27 ` [PATCH 3/9] media: mtk-vcodec: support version 2 of decoder firmware ABI Alexandre Courbot
2020-06-30 6:27 ` [PATCH 4/9] media: add Mediatek's MM21 format Alexandre Courbot
2020-07-03 8:38 ` Hans Verkuil
2020-07-04 12:36 ` Alexandre Courbot
2020-06-30 6:27 ` [PATCH 5/9] media: mtk-vcodec: vdec: support stateless API Alexandre Courbot
2020-06-30 6:27 ` [PATCH 6/9] media: mtk-vcodec: vdec: support stateless H.264 decoding Alexandre Courbot
2020-06-30 6:27 ` [PATCH 7/9] media: mtk-vcodec: vdec: add media device if using stateless api Alexandre Courbot
2020-06-30 6:27 ` [PATCH 8/9] media: mtk-vcodec: enable MT8183 decoder Alexandre Courbot
2020-06-30 6:27 ` [PATCH 9/9] dt-bindings: media: document mediatek,mt8183-vcodec-dec Alexandre Courbot
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=20200630062711.4169601-1-acourbot@chromium.org \
--to=acourbot@chromium.org \
--cc=andrew-ct.chen@mediatek.com \
--cc=gtk_ruiwang@mediatek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=maoguang.meng@mediatek.com \
--cc=pihsun@chromium.org \
--cc=tiffany.lin@mediatek.com \
--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;
as well as URLs for NNTP newsgroup(s).