From: Hans Verkuil <hverkuil@xs4all.nl>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Benjamin Gaignard <benjamin.gaignard@collabora.com>,
Ezequiel Garcia <ezequiel@collabora.com>
Subject: [GIT PULL FOR v5.14] Add HANTRO G2/HEVC decoder support for IMX8MQ
Date: Thu, 3 Jun 2021 14:23:40 +0200 [thread overview]
Message-ID: <22b74c83-28af-ff86-0b3e-94e4e48d447a@xs4all.nl> (raw)
Note: there is one checkpatch warning about an undocumented DT compatibility string:
WARNING: DT compatible string "nxp,imx8mq-vpu-g2" appears un-documented -- check ./Documentation/devicetree/bindings/
#29: FILE: drivers/staging/media/hantro/hantro_drv.c:591:
+ { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
This will go through another subsystem, as this is related to power domain changes, see:
https://lore.kernel.org/linux-media/20210407073534.376722-1-benjamin.gaignard@collabora.com/T/#m6bd571fee94b1b1fa5c5d3fa6315ae5c9f4c8fad
Since that's independent of the HEVC support, and this is still staging, I did
not want to hold back this series.
Regards,
Hans
The following changes since commit 80c1c54a2aa3c5177f73fc5d505668df56fb28b6:
Merge tag 'v5.13-rc4' into media_tree (2021-06-02 10:59:50 +0200)
are available in the Git repository at:
git://linuxtv.org/hverkuil/media_tree.git tags/br-v5.14i
for you to fetch changes up to 2ffad592bcb47fed6fffd287060c98d910560b6e:
media: hantro: IMX8M: add variant for G2/HEVC codec (2021-06-03 14:10:57 +0200)
----------------------------------------------------------------
Tag branch
----------------------------------------------------------------
Benjamin Gaignard (9):
media: hevc: Add fields and flags for hevc PPS
media: hevc: Add decode params control
media: hantro: change hantro_codec_ops run prototype to return errors
media: hantro: Define HEVC codec profiles and supported features
media: hantro: Only use postproc when post processed formats are defined
media: uapi: Add a control for HANTRO driver
media: hantro: handle V4L2_PIX_FMT_HEVC_SLICE control
media: hantro: Introduce G2/HEVC decoder
media: hantro: IMX8M: add variant for G2/HEVC codec
Documentation/userspace-api/media/drivers/hantro.rst | 19 ++
Documentation/userspace-api/media/drivers/index.rst | 1 +
Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 108 ++++++--
Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst | 6 +
drivers/media/v4l2-core/v4l2-ctrls-core.c | 21 +-
drivers/media/v4l2-core/v4l2-ctrls-defs.c | 4 +
drivers/staging/media/hantro/Makefile | 2 +
drivers/staging/media/hantro/hantro.h | 13 +-
drivers/staging/media/hantro/hantro_drv.c | 99 ++++++-
drivers/staging/media/hantro/hantro_g1_h264_dec.c | 10 +-
drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c | 4 +-
drivers/staging/media/hantro/hantro_g1_vp8_dec.c | 6 +-
drivers/staging/media/hantro/hantro_g2_hevc_dec.c | 586 +++++++++++++++++++++++++++++++++++++++++
drivers/staging/media/hantro/hantro_g2_regs.h | 198 ++++++++++++++
drivers/staging/media/hantro/hantro_h1_jpeg_enc.c | 4 +-
drivers/staging/media/hantro/hantro_hevc.c | 333 +++++++++++++++++++++++
drivers/staging/media/hantro/hantro_hw.h | 71 ++++-
drivers/staging/media/hantro/hantro_postproc.c | 14 +
drivers/staging/media/hantro/hantro_v4l2.c | 5 +-
drivers/staging/media/hantro/imx8m_vpu_hw.c | 96 ++++++-
drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c | 4 +-
drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c | 4 +-
drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c | 6 +-
drivers/staging/media/sunxi/cedrus/cedrus.c | 6 +
drivers/staging/media/sunxi/cedrus/cedrus.h | 1 +
drivers/staging/media/sunxi/cedrus/cedrus_dec.c | 2 +
drivers/staging/media/sunxi/cedrus/cedrus_h265.c | 12 +-
include/media/hevc-ctrls.h | 46 +++-
28 files changed, 1612 insertions(+), 69 deletions(-)
create mode 100644 Documentation/userspace-api/media/drivers/hantro.rst
create mode 100644 drivers/staging/media/hantro/hantro_g2_hevc_dec.c
create mode 100644 drivers/staging/media/hantro/hantro_g2_regs.h
create mode 100644 drivers/staging/media/hantro/hantro_hevc.c
next reply other threads:[~2021-06-03 12:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 12:23 Hans Verkuil [this message]
2021-06-03 13:42 ` [GIT PULL FOR v5.14] Add HANTRO G2/HEVC decoder support for IMX8MQ (#74776) Jenkins
2021-06-04 8:50 ` Jenkins
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=22b74c83-28af-ff86-0b3e-94e4e48d447a@xs4all.nl \
--to=hverkuil@xs4all.nl \
--cc=benjamin.gaignard@collabora.com \
--cc=ezequiel@collabora.com \
--cc=linux-media@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.