Skip to contentSkip to conversation

Media Codec Fixes 2025-09-03

GIT PULL Nicolas Dufresne 2 participants 4 messages Sep 3, 2025 – Sep 4, 2025 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hey Mauro, Hans,

I collected the easy stuff I had in queue, so we have code clean and just one fix for the MT8188 MDP3 M2M driver.

cheers,
Nicolas

---

The following changes since commit 603957ae903e81fb80d3788297c0f58a68802dfc:

media: rkisp1: Add support for multiple power domains (2025-08-31 11:10:07 +0200)

are available in the Git repository at:

https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.18-media-codecs-2025-09-03

for you to fetch changes up to aa067d8de6e85c90a92c4281235c5cb6d7651fb5:

media: uapi: v4l2-controls: Cleanup codec definitions (2025-09-03 13:08:23 -0400)

----------------------------------------------------------------
Code cleanup and MT8188 MDP3 fix

----------------------------------------------------------------
AngeloGioacchino Del Regno (1):
dt-bindings: media: mediatek,mt8195-jpeg: Allow range number in node address

Liao Yuanhong (1):
media: chips-media: wave5: Remove redundant ternary operators

Lukas Bulwahn (1):
MAINTAINERS: merge sections for ROCKCHIP VIDEO DECODER DRIVER

Nícolas F. R. A. Prado (1):
media: platform: mtk-mdp3: Add missing MT8188 compatible to comp_dt_ids

Paul Kocialkowski (3):
media: verisilicon: imx8m: Use the default Hantro G1 irq handler
media: verisilicon: Explicitly disable selection api ioctls for decoders
media: uapi: v4l2-controls: Cleanup codec definitions

 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml |  2 +-
 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegenc.yaml |  2 +-
 MAINTAINERS                                                          |  9 +--------
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c             |  2 +-
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c                 |  3 +++
 drivers/media/platform/verisilicon/hantro_drv.c                      |  2 ++
 drivers/media/platform/verisilicon/hantro_v4l2.c                     |  6 ++----
 drivers/media/platform/verisilicon/imx8m_vpu_hw.c                    | 20 +-------------------
 include/uapi/linux/v4l2-controls.h                                   | 23 +++++++++++------------
 9 files changed, 23 insertions(+), 46 deletions(-)
Signature · 2 lines
Nicolas Dufresne
Principal Engineer at Collabora
#1 lore raw
Quoted 20 lines · Nicolas Dufresne

Hey Mauro, Hans,

I collected the easy stuff I had in queue, so we have code clean and just one fix for the MT8188 MDP3 M2M driver.

cheers,
Nicolas

---

The following changes since commit 603957ae903e81fb80d3788297c0f58a68802dfc:

media: rkisp1: Add support for multiple power domains (2025-08-31 11:10:07 +0200)

are available in the Git repository at:

https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.18-media-codecs-2025-09-03

for you to fetch changes up to aa067d8de6e85c90a92c4281235c5cb6d7651fb5:

Quoted 8 lines

media: uapi: v4l2-controls: Cleanup codec definitions (2025-09-03 13:08:23 -0400)

----------------------------------------------------------------
Code cleanup and MT8188 MDP3 fix

----------------------------------------------------------------
AngeloGioacchino Del Regno (1):
dt-bindings: media: mediatek,mt8195-jpeg: Allow range number in node address

This one is missing the SoB of the devicetree maintainers. I'm dropping it from this PR, but will apply the other patches.

I also noticed that it wasn't delegated to ndufresne in patchwork, perhaps this was mistakingly added to the PR?

Regards,

Hans

Quoted 27 lines

Liao Yuanhong (1):
media: chips-media: wave5: Remove redundant ternary operators

Lukas Bulwahn (1):
MAINTAINERS: merge sections for ROCKCHIP VIDEO DECODER DRIVER

Nícolas F. R. A. Prado (1):
media: platform: mtk-mdp3: Add missing MT8188 compatible to comp_dt_ids

Paul Kocialkowski (3):
media: verisilicon: imx8m: Use the default Hantro G1 irq handler
media: verisilicon: Explicitly disable selection api ioctls for decoders
media: uapi: v4l2-controls: Cleanup codec definitions

 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml |  2 +-
 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegenc.yaml |  2 +-
 MAINTAINERS                                                          |  9 +--------
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c             |  2 +-
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c                 |  3 +++
 drivers/media/platform/verisilicon/hantro_drv.c                      |  2 ++
 drivers/media/platform/verisilicon/hantro_v4l2.c                     |  6 ++----
 drivers/media/platform/verisilicon/imx8m_vpu_hw.c                    | 20 +-------------------
 include/uapi/linux/v4l2-controls.h                                   | 23 +++++++++++------------
 9 files changed, 23 insertions(+), 46 deletions(-)
#2 lore raw

Hi Hans,

Le jeudi 04 septembre 2025 à 10:39 +0200, Hans Verkuil a écrit :

Quoted 26 lines · Nicolas Dufresne
Quoted 25 lines

Hey Mauro, Hans,

I collected the easy stuff I had in queue, so we have code clean and just one fix for the MT8188 MDP3 M2M driver.

cheers,
Nicolas

---

The following changes since commit 603957ae903e81fb80d3788297c0f58a68802dfc:

  media: rkisp1: Add support for multiple power domains (2025-08-31 11:10:07 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-6.18-media-codecs-2025-09-03

for you to fetch changes up to aa067d8de6e85c90a92c4281235c5cb6d7651fb5:

  media: uapi: v4l2-controls: Cleanup codec definitions (2025-09-03 13:08:23 -0400)

----------------------------------------------------------------
Code cleanup and MT8188 MDP3 fix

Quoted 6 lines
Quoted 3 lines

----------------------------------------------------------------
AngeloGioacchino Del Regno (1):
      dt-bindings: media: mediatek,mt8195-jpeg: Allow range number in node address

This one is missing the SoB of the devicetree maintainers. I'm dropping it from this PR, but will apply the other patches.

Since its bindings, DT folks don't take them. I usually wait for a Rb from devicetree folks, but since Angelo is Mediatek tree maintainer he really knows what he's doing. The <name>@<number>,<number> instead of hex address seems fairly common.

Quoted 3 lines

I also noticed that it wasn't delegated to ndufresne in patchwork, perhaps this was mistakingly added to the PR?

I normally only take what I delegated to me indeed, and when I did a final review from my tag I didn't realized this one mas missing. I did review that regex and it does what the comment says.

Now I got tricked though, the DTS don't yet utilize the new form of jpegdec@<number>,<number>, so its not really fixing a DTS check issue, but a check issue that would occur if this was being used.

Anyway, no worries, nothing is broken, I'll ask Angelo to chase a DT maintainer to Rb this patch.

regards,
Nicolas

Quoted 32 lines

Regards,

Hans

Quoted 27 lines

Liao Yuanhong (1):
      media: chips-media: wave5: Remove redundant ternary operators

Lukas Bulwahn (1):
      MAINTAINERS: merge sections for ROCKCHIP VIDEO DECODER DRIVER

Nícolas F. R. A. Prado (1):
      media: platform: mtk-mdp3: Add missing MT8188 compatible to comp_dt_ids

Paul Kocialkowski (3):
      media: verisilicon: imx8m: Use the default Hantro G1 irq handler
      media: verisilicon: Explicitly disable selection api ioctls for decoders
      media: uapi: v4l2-controls: Cleanup codec definitions

 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml |  2 +- Documentation/devicetree/bindings/media/mediatek,mt8195-jpegenc.yaml |  2 +- MAINTAINERS                                                          |  9 +-------- drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c             |  2 +- drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c                 |  3 +++ drivers/media/platform/verisilicon/hantro_drv.c                      |  2 ++ drivers/media/platform/verisilicon/hantro_v4l2.c                     |  6 ++---- drivers/media/platform/verisilicon/imx8m_vpu_hw.c                    | 20 +------------------- include/uapi/linux/v4l2-controls.h                                   | 23 +++++++++++------------

 9 files changed, 23 insertions(+), 46 deletions(-)
#3 lore raw

Le jeudi 04 septembre 2025 à 08:36 -0400, Nicolas Dufresne a écrit :

Quoted 57 lines

Hi Hans,

Le jeudi 04 septembre 2025 à 10:39 +0200, Hans Verkuil a écrit :

Quoted 31 lines · Nicolas Dufresne
Quoted 30 lines

Hey Mauro, Hans,

I collected the easy stuff I had in queue, so we have code clean and just one
fix for the MT8188 MDP3 M2M driver.

cheers,
Nicolas

---

The following changes since commit
603957ae903e81fb80d3788297c0f58a68802dfc:

  media: rkisp1: Add support for multiple power domains (2025-08-31 11:10:07 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/linux-media/users/ndufresne.git tags/for-
6.18-media-codecs-2025-09-03

for you to fetch changes up to aa067d8de6e85c90a92c4281235c5cb6d7651fb5:

  media: uapi: v4l2-controls: Cleanup codec definitions (2025-09-03 13:08:23 -0400)

----------------------------------------------------------------
Code cleanup and MT8188 MDP3 fix

Quoted 8 lines
Quoted 4 lines

----------------------------------------------------------------
AngeloGioacchino Del Regno (1):
      dt-bindings: media: mediatek,mt8195-jpeg: Allow range number in node address

This one is missing the SoB of the devicetree maintainers. I'm dropping it from this
PR, but will apply the other patches.

Since its bindings, DT folks don't take them. I usually wait for a Rb from devicetree folks, but since Angelo is Mediatek tree maintainer he really knows what he's doing. The <name>@<number>,<number> instead of hex address seems fairly common.

Quoted 4 lines

I also noticed that it wasn't delegated to ndufresne in patchwork, perhaps this was
mistakingly added to the PR?

I normally only take what I delegated to me indeed, and when I did a final review from my tag I didn't realized this one mas missing. I did review that regex and it does what the comment says.

Quoted 7 lines

Now I got tricked though, the DTS don't yet utilize the new form of jpegdec@<number>,<number>, so its not really fixing a DTS check issue, but a check issue that would occur if this was being used.

Anyway, no worries, nothing is broken, I'll ask Angelo to chase a DT maintainer
to Rb this patch.

Actually, I just noticed Krzysztof comment, and then Angelo underlining that it contradicts previous DT maintainers review since all the multi-format multi-core encoders/decoders in MT8195 uses that form. After that, Krzysztof decicded to stay silent, Angelo should ping again or drop that patch.

Nicolas

Quoted 47 lines

regards,
Nicolas

Quoted 43 lines

Regards,

Hans

Quoted 38 lines

Liao Yuanhong (1):
      media: chips-media: wave5: Remove redundant ternary operators

Lukas Bulwahn (1):
      MAINTAINERS: merge sections for ROCKCHIP VIDEO DECODER DRIVER

Nícolas F. R. A. Prado (1):
      media: platform: mtk-mdp3: Add missing MT8188 compatible to comp_dt_ids

Paul Kocialkowski (3):
      media: verisilicon: imx8m: Use the default Hantro G1 irq handler
      media: verisilicon: Explicitly disable selection api ioctls for decoders
      media: uapi: v4l2-controls: Cleanup codec definitions

 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegdec.yaml |  2

+-
 Documentation/devicetree/bindings/media/mediatek,mt8195-jpegenc.yaml |  2
+-
 MAINTAINERS                                                          |  9
+--------
 drivers/media/platform/chips-media/wave5/wave5-vpu-enc.c             |  2
+-
 drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c                 |  3

+++
 drivers/media/platform/verisilicon/hantro_drv.c                      |  2 ++
 drivers/media/platform/verisilicon/hantro_v4l2.c                     |  6
++----
 drivers/media/platform/verisilicon/imx8m_vpu_hw.c                    | 20

+-------------------
 include/uapi/linux/v4l2-controls.h                                   | 23
+++++++++++------------
 9 files changed, 23 insertions(+), 46 deletions(-)