[PATCH v2 0/2] media: staging: imx: fix multiple video input
Frank Li
Frank.li at nxp.com
Wed Mar 18 06:35:55 PDT 2026
On Wed, Mar 18, 2026 at 02:36:44PM +0200, Laurent Pinchart wrote:
> On Wed, Mar 18, 2026 at 01:01:04PM +0100, Michael Tretter wrote:
> > On Fri, 23 Jan 2026 14:34:29 -0500, Frank Li wrote:
> > > On Fri, Jan 23, 2026 at 05:58:57PM +0100, Michael Tretter wrote:
> > > > On Thu, 18 Dec 2025 10:09:07 +0100, Michael Tretter wrote:
> > > > > On Fri, 07 Nov 2025 11:34:32 +0100, Michael Tretter wrote:
> > > > > > If the IMX media pipeline is configured to receive multiple video
> > > > > > inputs, the second input stream may be broken on start. This happens if
> > > > > > the IMX CSI hardware has to be reconfigured for the second stream, while
> > > > > > the first stream is already running.
> > > > > >
> > > > > > The IMX CSI driver configures the IMX CSI in the link_validate callback.
> > > > > > The media pipeline is only validated on the first start. Thus, any later
> > > > > > start of the media pipeline skips the validation and directly starts
> > > > > > streaming. This may leave the hardware in an inconsistent state compared
> > > > > > to the driver configuration. Moving the hardware configuration to the
> > > > > > stream start to make sure that the hardware is configured correctly.
> > > > > >
> > > > > > Patch 1 removes the caching of the upstream mbus_config in
> > > > > > csi_link_validate and explicitly request the mbus_config in csi_start,
> > > > > > to get rid of this implicit dependency.
> > > > > >
> > > > > > Patch 2 actually moves the hardware register setting from
> > > > > > csi_link_validate to csi_start to fix the skipped hardware
> > > > > > reconfiguration.
> > > > >
> > > > > Gentle ping.
> > > >
> > > > Is there anything still missing to get these patches applied?
> >
> > I'm not entirely sure, who is responsible for applying patches for
> > media-imx. You handled the last few patches for this driver. Maybe you
> > could apply these patches, too?
> >
> > I also sent another series [0] for media-imx. Can you handle this other
> > series, as well?
>
> I don't have bandwidth to handle the i.MX6 camera code in staging, at
> least for the parts that are not on their way out of staging (I really
> want to help with imx6-mipi-csi2, but even there time is short). I'm
> fine if Hans handles this series.
>
Hans Verkuil:
Since Laurent Pinchart have not bandwidth, do you need me to help
collect these patch and send pull request? I have collected imx's dts part
patch now.
Best regards
Frank Li
>
> --
> Regards,
>
> Laurent Pinchart
More information about the linux-arm-kernel
mailing list