Re: [ANNv4] Media Summit on May 26th in Nice, France

Nicolas Dufresne
2026-04-14T17:55:29Z

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

Hey,

Le mardi 14 avril 2026 à 11:42 +0300, Laurent Pinchart a écrit :
> Let's not reproduce the design mistakes made in the V4L2 M2M framework.
>
> I also think you need to decouple the context handling and scheduling in
> two separate components. They need to work together, but shouldn't be
> bundled into a monolithic system. Very importantly, a driver should be
> able to implement contexts with the multi-context helpers, and implement
> custom scheduling itself.

Note that the v4l2_m2m_dev is juts miss-named, it does not wrap a specific dev
instance anymore. I'll rename and clean that up eventually, but I agree its not
meant for your purpose, and it will be a good fight to use. Its already a pretty
big miss-fit for stateful codec, which don't really have the notion of "active
central job". Jacopo's proposal is to have multi-context MC (as you already
know), making the media device as the central source of context, so I think
that's a path in the right direction.

But I'll be honest, I would see a future where we actually drop (or break down
into pieces) VB2, which is I read you well, its not miss-aligned with your say.

Nicolas

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 228 bytes --]