[PATCH v2 0/3] media: imx-csi: cleanup media pipeline start

Frank Li Frank.li at nxp.com
Mon Mar 30 07:38:44 PDT 2026


On Mon, Mar 30, 2026 at 10:49:22AM +0200, Michael Tretter wrote:
> Hi Hans,
>
> On Fri, 23 Jan 2026 17:57:23 +0100, Michael Tretter wrote:
> > On Thu, 18 Dec 2025 10:23:48 +0100, Michael Tretter wrote:
> > > The imx media device currently assumes that there is only a single media
> > > pipeline. However, the media graph has multiple imx capture devices.
> > > These may be started separately on media pipelines if they don't cause
> > > conflicts in the media graph.
> > >
> > > Move the media pipeline from the media device to the capture devices to
> > > properly track and handle multiple media pipelines for the imx-csi.
> > > Refactor the code to start the media pipeline from the driver to help
> > > the reader.
> >
>
> Could you take a look and apply this series for the imx-media driver,
> too? The patches are already reviewed by Frank Li and Philipp Zabel.

Michael Tretter:

Sorry, I will take care imx's stage driver. I already sent pull-request,
which included your other two patches.

Do you have others patches, which need me take care. I am not sure if
there are chance to send 2nd pull request for 7.1.

Frank

>
> Michael
>
> >
> > >
> > > Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
> > > ---
> > > Changes in v2:
> > > - Improve code readability in Patch 2
> > > - Update commit message of Patch 3 as suggested by Frank Li
> > > - Link to v1: https://patch.msgid.link/20251107-media-imx-cleanup-v1-0-f82a693c28f4@pengutronix.de
> > >
> > > ---
> > > Michael Tretter (3):
> > >       media: imx-csi: move media_pipeline to video device
> > >       media: imx-csi: explicitly start media pipeline on pad 0
> > >       media: imx-csi: use media_pad_is_streaming helper
> > >
> > >  drivers/staging/media/imx/imx-media-capture.c |  8 ++++----
> > >  drivers/staging/media/imx/imx-media-utils.c   | 12 ++++++++----
> > >  drivers/staging/media/imx/imx-media.h         |  7 ++++---
> > >  3 files changed, 16 insertions(+), 11 deletions(-)
> > > ---
> > > base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
> > > change-id: 20251107-media-imx-cleanup-9022d941ae44



More information about the linux-arm-kernel mailing list