linux/Documentation/userspace-api/media/mediactl
Laurent Pinchart b3decc5ce7 media: mc: Expand MUST_CONNECT flag to always require an enabled link
The MEDIA_PAD_FL_MUST_CONNECT flag indicates that the pad requires an
enabled link to stream, but only if it has any link at all. This makes
little sense, as if a pad is part of a pipeline, there are very few use
cases for an active link to be mandatory only if links exist at all. A
review of in-tree drivers confirms they all need an enabled link for
pads marked with the MEDIA_PAD_FL_MUST_CONNECT flag.

Expand the scope of the flag by rejecting pads that have no links at
all. This requires modifying the pipeline build code to add those pads
to the pipeline.

Cc: stable@vger.kernel.org # 6.1
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-02-05 14:29:34 +01:00
..
media-controller-intro.rst
media-controller-model.rst media: media.h: Add new media link type 2022-04-24 07:58:16 +01:00
media-controller.rst media: doc: properly format ToC headings 2023-11-17 13:05:26 -07:00
media-func-close.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-func-ioctl.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-func-open.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-funcs.rst
media-header.rst
media-ioc-device-info.rst media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
media-ioc-enum-entities.rst media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
media-ioc-enum-links.rst media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
media-ioc-g-topology.rst media: docs: uAPI: fix table output in LaTeX/PDF format 2021-03-11 11:59:40 +01:00
media-ioc-request-alloc.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-ioc-setup-link.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-request-ioc-queue.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-request-ioc-reinit.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
media-types.rst media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-02-05 14:29:34 +01:00
request-api.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
request-func-close.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
request-func-ioctl.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00
request-func-poll.rst media: docs: make MC documents more compatible with Sphinx 3.1+ 2020-10-15 07:49:39 +02:00