imx.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] media: imx-csi: cleanup media pipeline start
@ 2025-11-07 10:16 Michael Tretter
  2025-11-07 10:16 ` [PATCH 1/3] media: imx-csi: move media_pipeline to video device Michael Tretter
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Tretter @ 2025-11-07 10:16 UTC (permalink / raw)
  To: Steve Longerbeam, Philipp Zabel, Frank Li, Mauro Carvalho Chehab,
	Fabio Estevam
  Cc: linux-media, imx, linux-arm-kernel, Pengutronix Kernel Team,
	Michael Tretter

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.

Signed-off-by: Michael Tretter <m.tretter@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: 1a31cb2782104969e48c7ce7e4fc06e403fcb5cf
change-id: 20251107-media-imx-cleanup-9022d941ae44

Best regards,
-- 
Michael Tretter <m.tretter@pengutronix.de>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-11-07 16:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-07 10:16 [PATCH 0/3] media: imx-csi: cleanup media pipeline start Michael Tretter
2025-11-07 10:16 ` [PATCH 1/3] media: imx-csi: move media_pipeline to video device Michael Tretter
2025-11-07 10:27   ` Philipp Zabel
2025-11-07 16:10   ` Frank Li
2025-11-07 10:16 ` [PATCH 2/3] media: imx-csi: explicitly start media pipeline on pad 0 Michael Tretter
2025-11-07 10:28   ` Philipp Zabel
2025-11-07 16:12   ` Frank Li
2025-11-07 10:16 ` [PATCH 3/3] media: imx-csi: use media_pad_is_streaming helper Michael Tretter
2025-11-07 10:28   ` Philipp Zabel
2025-11-07 16:14   ` Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).