@@ -206,6 +206,7 @@ struct media_entity_desc {
#define MEDIA_PAD_FL_SINK (1U << 0)
#define MEDIA_PAD_FL_SOURCE (1U << 1)
#define MEDIA_PAD_FL_MUST_CONNECT (1U << 2)
+#define MEDIA_PAD_FL_INTERNAL (1U << 3)
struct media_pad_desc {
__u32 entity; /* entity ID */
@@ -204,6 +204,11 @@ struct v4l2_subdev_capability {
* on a video node.
*/
#define V4L2_SUBDEV_ROUTE_FL_ACTIVE (1U << 0)
+/*
+ * Is the route immutable. The ACTIVE flag of an immutable route may not be
+ * changed.
+ */
+#define V4L2_SUBDEV_ROUTE_FL_IMMUTABLE (1U << 1)
/**
* struct v4l2_subdev_route - A route inside a subdev
@@ -1852,6 +1852,7 @@ constexpr flag_def media_pad_flag_def[] = {
{ MEDIA_PAD_FL_SINK, "MEDIA_PAD_FL_SINK" },
{ MEDIA_PAD_FL_SOURCE, "MEDIA_PAD_FL_SOURCE" },
{ MEDIA_PAD_FL_MUST_CONNECT, "MEDIA_PAD_FL_MUST_CONNECT" },
+ { MEDIA_PAD_FL_INTERNAL, "MEDIA_PAD_FL_INTERNAL" },
{ 0, "" }
};
Update v4l-utils to the kernel headers from the internal pads series. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- include/linux/media.h | 1 + include/linux/v4l2-subdev.h | 5 +++++ utils/v4l2-tracer/v4l2-tracer-info-gen.h | 1 + 3 files changed, 7 insertions(+)