On Thu Aug 7 17:11:32 2025 +0300, Sakari Ailus wrote:
> Document that enable_streams may start additional streams and
> disable_streams may not disable requested streams if other related streams
> are still enabled.
> 
> Signed-off-by: Sakari Ailus <[email protected]>
> Reviewed-by: Jacopo Mondi <[email protected]>
> Reviewed-by: Mirela Rabulea <[email protected]>
> Reviewed-by: Laurent Pinchart <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 include/media/v4l2-subdev.h | 8 ++++++++
 1 file changed, 8 insertions(+)

---

diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index d256b7ec8f84..d9dca6905b33 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -814,6 +814,11 @@ struct v4l2_subdev_state {
  *     V4L2_SUBDEV_CAP_STREAMS sub-device capability flag can ignore the mask
  *     argument.
  *
+ *     Due to device constraints, starting the requested streams may result in
+ *     additional streams also being started by the driver. Streams that are
+ *     started and stopped together due to the nature of the hardware are
+ *     called a stream group.
+ *
  * @disable_streams: Disable the streams defined in streams_mask on the given
  *     source pad. Subdevs that implement this operation must use the active
  *     state management provided by the subdev core (enabled through a call to
@@ -823,6 +828,9 @@ struct v4l2_subdev_state {
  *     Drivers that support only a single stream without setting the
  *     V4L2_SUBDEV_CAP_STREAMS sub-device capability flag can ignore the mask
  *     argument.
+ *
+ *     When the requested stream are part of a stream group, they will be
+ *     stopped once all streams in the group are stopped.
  */
 struct v4l2_subdev_pad_ops {
        int (*enum_mbus_code)(struct v4l2_subdev *sd,
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to