Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH 0/4] Helpers to manage starting / stopping multi-driver media pipelines
@ 2025-07-02 15:15 Daniel Scally
  2025-07-02 15:15 ` [PATCH 1/4] media: mc: entity: Move media pipeline entity iteration functions Daniel Scally
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Daniel Scally @ 2025-07-02 15:15 UTC (permalink / raw)
  To: linux-media; +Cc: Sakari Ailus, Laurent Pinchart, Jacopo Mondi, Daniel Scally

Hello all

This series is adds some helper functions that are intended to
simplify driver code that starts a pipeline to which multiple
drivers contribute video devices. Oone of the patches from my
earlier media jobs series [1] is included, and will now be dropped
from there. The extra changes mostly stem from review comments
to that patch and the IVC series [2].

The media pipeline entity iterator is embedded into
struct media_pipeline and inited during media_pipeline_start() with
updates to functions interacting with the iterator to accomodate
that. The commit adding the new entity operations was updated to
account for that change, and a further new patch was introduced to
create a helper for drivers to call the new media_pipeline_started()
and media_pipeline_stopped() based on the state of all the video
device type entities in the pipeline

Thanks
Dan

[1] https://lore.kernel.org/linux-media/20250624-media-jobs-v2-0-8e649b069a96@ideasonboard.com/
[2] https://lore.kernel.org/linux-media/20250624-ivc-v2-0-e4ecdddb0a96@ideasonboard.com/

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
---
Daniel Scally (4):
      media: mc: entity: Move media pipeline entity iteration functions
      media: mc: entity: Embed entity iterator in pipeline
      media: mc: entity: Add pipeline_started/stopped ops
      media: v4l2-dev: Add helpers to run media_pipeline_[started|stopped]()

 drivers/media/mc/mc-entity.c                  | 93 ++++++++++++++++++---------
 drivers/media/platform/ti/omap3isp/ispvideo.c |  9 +--
 drivers/media/v4l2-core/v4l2-dev.c            | 49 ++++++++++++++
 include/media/media-entity.h                  | 91 +++++++++++++-------------
 include/media/v4l2-dev.h                      | 46 +++++++++++++
 5 files changed, 204 insertions(+), 84 deletions(-)
---
base-commit: c0b1da281d84d33281fc49289f0c7f8aada450ff
change-id: 20250702-pipelines-6af819efbed1

Best regards,
-- 
Daniel Scally <dan.scally@ideasonboard.com>


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

end of thread, other threads:[~2025-07-09  1:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 15:15 [PATCH 0/4] Helpers to manage starting / stopping multi-driver media pipelines Daniel Scally
2025-07-02 15:15 ` [PATCH 1/4] media: mc: entity: Move media pipeline entity iteration functions Daniel Scally
2025-07-02 15:15 ` [PATCH 2/4] media: mc: entity: Embed entity iterator in pipeline Daniel Scally
2025-07-02 20:05   ` Laurent Pinchart
2025-07-04  9:13     ` Dan Scally
2025-07-09  1:07   ` kernel test robot
2025-07-02 15:15 ` [PATCH 3/4] media: mc: entity: Add pipeline_started/stopped ops Daniel Scally
2025-07-02 20:08   ` Laurent Pinchart
2025-07-03  6:34     ` Dan Scally
2025-07-02 15:15 ` [PATCH 4/4] media: v4l2-dev: Add helpers to run media_pipeline_[started|stopped]() Daniel Scally

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox