From: Hans Verkuil <hverkuil+cisco@kernel.org>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>,
linux-media@vger.kernel.org
Subject: Re: [GIT PULL FOR 7.2] Media codec for 7.2 2026-05-03
Date: Mon, 4 May 2026 09:46:30 +0200 [thread overview]
Message-ID: <d3801f35-96ec-4b66-a43a-39923a8ef421@kernel.org> (raw)
In-Reply-To: <06ca2e5f94b207d693e7959d8912cfb8694ce08f.camel@collabora.com>
Hi Nicolas,
On 03/05/2026 17:50, Nicolas Dufresne wrote:
> Hi Mauro, Hans,
>
> This contains several fixes and improvement in codec drivers. In Verisilicon
> driver, an internal AV1 helper has been created in preparation of new chips
> versions support and a fix around pixel format selection has been added to fix
> possibly loosing film grain. In rkvdec, a minimal bitwriter has been generalized
> inside the driver and some of the bitfield have been ported to that. This should
> help significantly reduce stack usage with clang and ASAN. The HEVC slice
> compound controls have common validation and more validation specific to the
> cedrus driver was added. Chips&Media Wave5 drivers now supports constrained-
> baseline profile and has a new control to enable background detection in the
> decoder. The rest is mostly cleanup and fixup of issues mostly found by static
> analyses.
>
> cheers,
> Nicolas
>
> The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:
>
> Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)
>
> are available in the Git repository at:
>
> https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-7.2-media-codecs-2026-05-03
>
> for you to fetch changes up to 9f670b8e9507766a833bbf18c351a8155ab119ed:
>
> media: v4l2-common: Add YUV24 format info (2026-05-03 11:34:19 -0400)
>
> ----------------------------------------------------------------
> Fixes across codec drivers and new wave5 features
>
> ----------------------------------------------------------------
> Benjamin Gaignard (2):
> media: verisilicon: Create AV1 helper library
I'm dropping this patch from this PR. The others look good to me, but this
one needs a bit more work IMHO.
Regards,
Hans
> media: verisilicon: Export only needed pixels formats
>
> Brandon Brnich (3):
> media: chips-media: wave5: Move src_buf Removal to finish_encode
> media: chips-media: wave5: Release m2m_ctx after Instance Removed from List
> media: chips-media: wave5: Fix Reports from Kernel Lock Validator
>
> Chen-Yu Tsai (1):
> dt-bindings: media: sun4i-a10-video-engine: Add interconnect properties
>
> Detlev Casanova (4):
> media: rkvdec: Introduce a global bitwriter helper
> media: rkvdec: Use the global bitwriter instead of local one
> media: rkvdec: common: Drop bitfields for the bitwriter
> media: rkvdec: vdpu383: Drop bitfields for the bitwriter
>
> Fritz Koenig (1):
> Documentation: media: Fix v4l2_vp9_segmentation
>
> Jackson Lee (4):
> media: v4l2-controls: Add control for background detection
> media: chips-media: wave5: Add support for background detection
> media: chips-media: wave5: Support CBP profile
> media: chips-media: wave5: Add Support for Packed YUV422 Formats
>
> Louis-Alexis Eyraud (1):
> media: mtk-jpeg: cancel workqueue on release for supported platforms only
>
> Nas Chung (1):
> media: v4l2-common: Add YUV24 format info
>
> Pengpeng Hou (2):
> media: v4l2-ctrls: validate HEVC active reference counts
> media: cedrus: skip invalid H.264 reference list entries
>
> Rouven Czerwinski (1):
> media: verisilicon: remove hantro_run declaration
>
> Samuel Holland (2):
> media: cedrus: Fix missing cleanup in error path
> media: cedrus: Fix failure to clean up hardware on probe failure
>
> Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml | 10 ++
> Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 2 +-
> Documentation/userspace-api/media/v4l/ext-ctrls-codec.rst | 6 ++
> drivers/media/platform/chips-media/wave5/wave5-helper.c | 4 +-
> drivers/media/platform/chips-media/wave5/wave5-helper.h | 2 +-
> drivers/media/platform/chips-media/wave5/wave5-hw.c | 7 +-
> drivers/media/platform/chips-media/wave5/wave5-vpu-dec.c | 47 +++++++---
> drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c | 73 +++++++++------
> drivers/media/platform/chips-media/wave5/wave5-vpuapi.h | 2 +
> drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.c | 3 +-
> drivers/media/platform/rockchip/rkvdec/rkvdec-bitwriter.h | 39 ++++++++
> drivers/media/platform/rockchip/rkvdec/rkvdec-h264-common.c | 51 +---------
> drivers/media/platform/rockchip/rkvdec/rkvdec-h264-common.h | 40 ++------
> drivers/media/platform/rockchip/rkvdec/rkvdec-h264.c | 109 +++++++++-------------
> drivers/media/platform/rockchip/rkvdec/rkvdec-hevc-common.c | 93 ++++---------------
> drivers/media/platform/rockchip/rkvdec/rkvdec-hevc-common.h | 57 +++---------
> drivers/media/platform/rockchip/rkvdec/rkvdec-hevc.c | 171 +++++++++++++++-------------------
> drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-h264.c | 351 +++++++++++++++++++++++++++------------------------------------------
> drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-hevc.c | 502 ++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------
> drivers/media/platform/verisilicon/Makefile | 7 +-
> drivers/media/platform/verisilicon/hantro_av1.c | 780 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> drivers/media/platform/verisilicon/hantro_av1.h | 62 +++++++++++++
> drivers/media/platform/verisilicon/{rockchip_av1_entropymode.c => hantro_av1_entropymode.c} | 18 ++--
> drivers/media/platform/verisilicon/{rockchip_av1_entropymode.h => hantro_av1_entropymode.h} | 18 ++--
> drivers/media/platform/verisilicon/{rockchip_av1_filmgrain.c => hantro_av1_filmgrain.c} | 82 ++++++++--------
> drivers/media/platform/verisilicon/hantro_av1_filmgrain.h | 44 +++++++++
> drivers/media/platform/verisilicon/hantro_hw.h | 8 +-
> drivers/media/platform/verisilicon/hantro_v4l2.c | 6 +-
> drivers/media/platform/verisilicon/rockchip_av1_filmgrain.h | 36 --------
> drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c | 935 +++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> drivers/media/platform/verisilicon/rockchip_vpu_hw.c | 7 +-
> drivers/media/v4l2-core/v4l2-common.c | 1 +
> drivers/media/v4l2-core/v4l2-ctrls-core.c | 13 +++
> drivers/media/v4l2-core/v4l2-ctrls-defs.c | 2 +
> drivers/staging/media/sunxi/cedrus/cedrus.c | 5 +-
> drivers/staging/media/sunxi/cedrus/cedrus_h264.c | 3 +
> include/uapi/linux/v4l2-controls.h | 2 +
> 37 files changed, 1744 insertions(+), 1854 deletions(-)
> create mode 100644 drivers/media/platform/rockchip/rkvdec/rkvdec-bitwriter.h
> create mode 100644 drivers/media/platform/verisilicon/hantro_av1.c
> create mode 100644 drivers/media/platform/verisilicon/hantro_av1.h
> rename drivers/media/platform/verisilicon/{rockchip_av1_entropymode.c => hantro_av1_entropymode.c} (99%)
> rename drivers/media/platform/verisilicon/{rockchip_av1_entropymode.h => hantro_av1_entropymode.h} (95%)
> rename drivers/media/platform/verisilicon/{rockchip_av1_filmgrain.c => hantro_av1_filmgrain.c} (92%)
> create mode 100644 drivers/media/platform/verisilicon/hantro_av1_filmgrain.h
> delete mode 100644 drivers/media/platform/verisilicon/rockchip_av1_filmgrain.h
>
next prev parent reply other threads:[~2026-05-04 7:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-03 15:50 [GIT PULL FOR 7.2] Media codec for 7.2 2026-05-03 Nicolas Dufresne
2026-05-04 7:46 ` Hans Verkuil [this message]
2026-05-04 12:41 ` Nicolas Dufresne
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=d3801f35-96ec-4b66-a43a-39923a8ef421@kernel.org \
--to=hverkuil+cisco@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=nicolas.dufresne@collabora.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