Skip to contentSkip to conversation

media: vimc: add RGB/YUV input entity and improve pipeline support

PATCH Applied Pavan Bobba 2 participants 17 messages Nov 20, 2025 – Feb 19

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover media: vimc: add RGB/YUV input entity and improve pipeline support

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.

Patch 1 adds an RGB/YUV input entity that can be used to simulate pipelines starting after a real debayer stage.

Patch 2 adds V4L2_FIELD_ALTERNATE support to vimc-sensor, allowing it to simulate interlaced sources.

Patch 3 extends the debayer to support multiple RGB output formats.

Patch 4 allows vimc-capture to accept custom bytesperline values so users can exercise padded strides when testing the RGB/YUV path.

Patch 5 updates the vimc documentation with the RGB/YUV input entity and revised media-ctl/v4l2-ctl examples.

Tested with:
- vimc.0 on x86_64 using media-ctl and v4l2-ctl pipelines

Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

 Documentation/admin-guide/media/vimc.rst      |  39 +++-
 drivers/media/test-drivers/vimc/Makefile      |   3 +-
 .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
 drivers/media/test-drivers/vimc/vimc-common.h |   1 +
 drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
 .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
 drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
 drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
 8 files changed, 352 insertions(+), 41 deletions(-)
 create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/5 media: vimc: add RGB/YUV input entity implementation

Introduce a new vimc-input entity to simulate a color frame source in the Virtual Media Controller (VIMC) pipeline. This entity outputs RGB888 frames and allows testing of pipelines that start from a pre-processed RGB/YUV source instead of a raw Bayer sensor.

The patch adds vimc-input.c with basic pad operations for format enumeration, get/set, and stream enable/disable handlers. The entity is registered in the VIMC core configuration, replacing the previous temporary use of vimc-sensor. Frame generation is not yet implemented and remains a TODO for future work.

This change enables link validation and format negotiation for the RGB/YUV input path, paving the way for software frame injection and test-pattern generation.

---
 drivers/media/test-drivers/vimc/Makefile      |   3 +-
 drivers/media/test-drivers/vimc/vimc-common.h |   1 +
 drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
 drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
 4 files changed, 214 insertions(+), 3 deletions(-)
 create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c
drivers/media/test-drivers/vimc/Makefile +2 -1
index 9b9631562473..7e1fdb2f2a78 100644
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 vimc-y := vimc-core.o vimc-common.o vimc-streamer.o vimc-capture.o \
-		vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o
+		vimc-debayer.o vimc-scaler.o vimc-sensor.o vimc-lens.o \
+		vimc-input.o
 
 obj-$(CONFIG_VIDEO_VIMC) += vimc.o
 
drivers/media/test-drivers/vimc/vimc-common.h +1 -0
index 7a45a2117748..6c94b1635fa8 100644
@@ -172,6 +172,7 @@ extern const struct vimc_ent_type vimc_debayer_type;
 extern const struct vimc_ent_type vimc_scaler_type;
 extern const struct vimc_ent_type vimc_capture_type;
 extern const struct vimc_ent_type vimc_lens_type;
+extern const struct vimc_ent_type vimc_input_type;
 
 /**
  * vimc_pix_map_by_index - get vimc_pix_map struct by its index
drivers/media/test-drivers/vimc/vimc-core.c +1 -2
index f632c77e52f5..2f6846facb23 100644
@@ -107,9 +107,8 @@ static const struct vimc_ent_config ent_config[] = {
 		.type = &vimc_capture_type
 	},
 	[RGB_YUV_INPUT] = {
-		/* TODO: change this to vimc-input when it is implemented */
 		.name = "RGB/YUV Input",
-		.type = &vimc_sensor_type
+		.type = &vimc_input_type
 	},
 	[SCALER] = {
 		.name = "Scaler",
drivers/media/test-drivers/vimc/vimc-input.c new file +210 -0

210 lines not on this page · raw message

Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/5 media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor

In reply to Pavan Bobba

The vimc sensor currently ignores V4L2_FIELD_ALTERNATE and always configures the test pattern generator (TPG) with a progressive field. This patch adds basic handling for the ALTERNATE field type.

When userspace requests V4L2_FIELD_ALTERNATE, the TPG is configured to output alternating top and bottom fields by calling tpg_s_field() with the interlaced flag set. For all other field types, existing progressive behaviour is preserved.

This change allows the vimc-sensor subdevice to correctly reflect the requested field type in its reported format, enabling basic testing of interlaced-field negotiation in the media pipeline. Other vimc entities (debayer, scaler, capture) still treat all streams as progressive, so streaming with ALTERNATE may not yet succeed.

---
 drivers/media/test-drivers/vimc/vimc-sensor.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
drivers/media/test-drivers/vimc/vimc-sensor.c +5 -4
index 027767777763..900c3f329f1c 100644
@@ -105,8 +105,10 @@ static void vimc_sensor_tpg_s_format(struct vimc_sensor_device *vsensor,
 	tpg_s_bytesperline(&vsensor->tpg, 0, format->width * vpix->bpp);
 	tpg_s_buf_height(&vsensor->tpg, format->height);
 	tpg_s_fourcc(&vsensor->tpg, vpix->pixelformat);
-	/* TODO: add support for V4L2_FIELD_ALTERNATE */
-	tpg_s_field(&vsensor->tpg, format->field, false);
+	if (format->field == V4L2_FIELD_ALTERNATE)
+		tpg_s_field(&vsensor->tpg, V4L2_FIELD_TOP, true);
+	else
+		tpg_s_field(&vsensor->tpg, format->field, false);
 	tpg_s_colorspace(&vsensor->tpg, format->colorspace);
 	tpg_s_ycbcr_enc(&vsensor->tpg, format->ycbcr_enc);
 	tpg_s_quantization(&vsensor->tpg, format->quantization);
@@ -127,8 +129,7 @@ static void vimc_sensor_adjust_fmt(struct v4l2_mbus_framefmt *fmt)
 	fmt->height = clamp_t(u32, fmt->height, VIMC_FRAME_MIN_HEIGHT,
 			      VIMC_FRAME_MAX_HEIGHT) & ~1;
 
-	/* TODO: add support for V4L2_FIELD_ALTERNATE */
-	if (fmt->field == V4L2_FIELD_ANY || fmt->field == V4L2_FIELD_ALTERNATE)
+	if (fmt->field == V4L2_FIELD_ANY)
 		fmt->field = fmt_default.field;
 
 	vimc_colorimetry_clamp(fmt);
Signature · 1 line
2.43.0
#3 lore raw

PATCH 3/5 media: vimc: debayer: add support for multiple RGB formats

In reply to Pavan Bobba

Enhance the vimc debayer subdevice to support multiple RGB output formats and improve its format negotiation behavior.

This patch introduces the following changes:
- Adds ARGB8888_1X32 to the list of supported source pad mbus codes.
- Allows userspace to select any valid RGB code on the source pad through set_fmt().
- Propagates width, height, and field settings from sink to source while preserving the selected RGB code.
- Sets appropriate default colorimetry for RGB output (sRGB, full-range).
- Updates vimc_debayer_process_rgb_frame() to handle RGB24, BGR24, and ARGB32 pixel formats with proper channel ordering and alpha fill.
- Adds debug and warning logs for invalid or unsupported formats.

These changes make the virtual debayer pipeline more flexible and realistic for testing RGB/ARGB camera capture paths.

---
 .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++++++++----
 1 file changed, 90 insertions(+), 23 deletions(-)
drivers/media/test-drivers/vimc/vimc-debayer.c +90 -23
index bbb7c7a86df0..0fa1cb8d3be1 100644
@@ -15,9 +15,6 @@
 
 #include "vimc-common.h"
 
-/* TODO: Add support for more output formats, we only support RGB888 for now. */
-#define VIMC_DEBAYER_SOURCE_MBUS_FMT	MEDIA_BUS_FMT_RGB888_1X24
-
 enum vimc_debayer_rgb_colors {
 	VIMC_DEBAYER_RED = 0,
 	VIMC_DEBAYER_GREEN = 1,
@@ -73,6 +70,7 @@ static const u32 vimc_debayer_src_mbus_codes[] = {
 	MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
 	MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA,
 	MEDIA_BUS_FMT_RGB888_1X32_PADHI,
+	MEDIA_BUS_FMT_ARGB8888_1X32,
 };
 
 static const struct vimc_debayer_pix_map vimc_debayer_pix_map_list[] = {
@@ -170,7 +168,7 @@ static int vimc_debayer_init_state(struct v4l2_subdev *sd,
 
 	mf = v4l2_subdev_state_get_format(sd_state, 1);
 	*mf = sink_fmt_default;
-	mf->code = VIMC_DEBAYER_SOURCE_MBUS_FMT;
+	mf->code = vimc_debayer_src_mbus_codes[0];
 
 	return 0;
 }
@@ -239,6 +237,14 @@ static void vimc_debayer_adjust_sink_fmt(struct v4l2_mbus_framefmt *fmt)
 	vimc_colorimetry_clamp(fmt);
 }
 
+static void vimc_debayer_set_rgb_mbus_fmt_default(struct v4l2_mbus_framefmt *fmt)
+{
+	fmt->colorspace = V4L2_COLORSPACE_SRGB;
+	fmt->quantization = V4L2_QUANTIZATION_FULL_RANGE;
+	fmt->xfer_func = V4L2_XFER_FUNC_SRGB;
+	fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT;
+}
+
 static int vimc_debayer_set_fmt(struct v4l2_subdev *sd,
 				struct v4l2_subdev_state *sd_state,
 				struct v4l2_subdev_format *fmt)
@@ -250,12 +256,30 @@ static int vimc_debayer_set_fmt(struct v4l2_subdev *sd,
 	if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE && vdebayer->src_frame)
 		return -EBUSY;
 
-	/*
-	 * Do not change the format of the source pad, it is propagated from
-	 * the sink.
-	 */
-	if (VIMC_IS_SRC(fmt->pad))
-		return v4l2_subdev_get_fmt(sd, sd_state, fmt);
+	if (VIMC_IS_SRC(fmt->pad)) {
+		struct v4l2_mbus_framefmt *source_fmt;
+		struct v4l2_mbus_framefmt *sink_fmt;
+
+		/* Validate the requested source format */
+		if (!vimc_debayer_src_code_is_valid(fmt->format.code))
+			return -EINVAL;
+
+		/* Get current formats */
+		source_fmt = v4l2_subdev_state_get_format(sd_state, 1);
+		sink_fmt = v4l2_subdev_state_get_format(sd_state, 0);
+
+		/* Update source format with appropriate properties for RGB output */
+		source_fmt->code = fmt->format.code;
+		source_fmt->width = sink_fmt->width;   /* Size should match */
+		source_fmt->height = sink_fmt->height; /* Size should match */
+		source_fmt->field = sink_fmt->field;   /* Field handling should match */
+
+		/* Set appropriate colorimetry for RGB output */
+		vimc_debayer_set_rgb_mbus_fmt_default(source_fmt);
+
+		fmt->format = *source_fmt;
+		return 0;
+	}
 
 	/* Set the new format in the sink pad. */
 	vimc_debayer_adjust_sink_fmt(&fmt->format);
@@ -278,8 +302,25 @@ static int vimc_debayer_set_fmt(struct v4l2_subdev *sd,
 
 	/* Propagate the format to the source pad. */
 	format = v4l2_subdev_state_get_format(sd_state, 1);
-	*format = fmt->format;
-	format->code = VIMC_DEBAYER_SOURCE_MBUS_FMT;
+
+	/* Propagate size and field from sink, but maintain source code */
+	format->width = fmt->format.width;
+	format->height = fmt->format.height;
+	format->field = fmt->format.field;
+
+	/*
+	 * Source code should always be valid (set during init or via set_fmt).
+	 * If somehow it's not, this is a bug - log warning and fix it.
+	 */
+	if (!vimc_debayer_src_code_is_valid(format->code)) {
+		dev_warn(vdebayer->ved.dev,
+			 "%s: Invalid source code 0x%x, resetting to default\n",
+			 vdebayer->sd.name, format->code);
+		format->code = vimc_debayer_src_mbus_codes[0];
+	}
+
+	/* Set appropriate colorimetry for RGB output */
+	vimc_debayer_set_rgb_mbus_fmt_default(format);
 
 	return 0;
 }
@@ -297,19 +338,45 @@ static void vimc_debayer_process_rgb_frame(struct vimc_debayer_device *vdebayer,
 					   unsigned int rgb[3])
 {
 	const struct vimc_pix_map *vpix;
-	unsigned int i, index;
+	unsigned int index;
 
 	vpix = vimc_pix_map_by_code(vdebayer->hw.src_code);
-	index = VIMC_FRAME_INDEX(lin, col, vdebayer->hw.size.width, 3);
-	for (i = 0; i < 3; i++) {
-		switch (vpix->pixelformat) {
-		case V4L2_PIX_FMT_RGB24:
-			vdebayer->src_frame[index + i] = rgb[i];
-			break;
-		case V4L2_PIX_FMT_BGR24:
-			vdebayer->src_frame[index + i] = rgb[2 - i];
-			break;
-		}
+	if (!vpix) {
+		dev_dbg(vdebayer->ved.dev, "Invalid source code: 0x%x\n",
+			vdebayer->hw.src_code);
+		return;
+	}
+
+	index = VIMC_FRAME_INDEX(lin, col, vdebayer->hw.size.width, vpix->bpp);
+
+	switch (vpix->pixelformat) {
+	case V4L2_PIX_FMT_RGB24:
+		/* RGB24: R-G-B */
+		vdebayer->src_frame[index + 0] = rgb[0]; /* Red */
+		vdebayer->src_frame[index + 1] = rgb[1]; /* Green */
+		vdebayer->src_frame[index + 2] = rgb[2]; /* Blue */
+		break;
+
+	case V4L2_PIX_FMT_BGR24:
+		/* BGR24: B-G-R */
+		vdebayer->src_frame[index + 0] = rgb[2]; /* Blue */
+		vdebayer->src_frame[index + 1] = rgb[1]; /* Green */
+		vdebayer->src_frame[index + 2] = rgb[0]; /* Red */
+		break;
+
+	case V4L2_PIX_FMT_ARGB32:
+		/* ARGB32: A-R-G-B (set alpha to 255) */
+		vdebayer->src_frame[index + 0] = 255;    /* Alpha */
+		vdebayer->src_frame[index + 1] = rgb[0]; /* Red */
+		vdebayer->src_frame[index + 2] = rgb[1]; /* Green */
+		vdebayer->src_frame[index + 3] = rgb[2]; /* Blue */
+		break;
+
+	default:
+		dev_dbg(vdebayer->ved.dev,
+			"Unsupported pixel format for debayer: 0x%x\n",
+			vpix->pixelformat);
+		break;
 	}
 }
 
Signature · 1 line
2.43.0
#4 lore raw

PATCH 4/5 media: vimc: capture: support custom bytesperline values

In reply to Pavan Bobba

Allow userspace to request custom bytesperline (stride) values in the vimc capture driver. The driver now clamps the requested value to a valid range instead of forcing a fixed stride.

The minimum bytesperline is width * bytes_per_pixel, while the maximum is limited by VIMC_FRAME_MAX_WIDTH * bytes_per_pixel. This makes the virtual capture node behave more like real hardware that supports aligned or padded scanlines.

---
 drivers/media/test-drivers/vimc/vimc-capture.c | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
drivers/media/test-drivers/vimc/vimc-capture.c +13 -2
index 7f6124025fc9..7164ec51eb80 100644
@@ -85,6 +85,7 @@ static int vimc_capture_try_fmt_vid_cap(struct file *file, void *priv,
 {
 	struct v4l2_pix_format *format = &f->fmt.pix;
 	const struct vimc_pix_map *vpix;
+	u32 min_bpl, max_bpl;
 
 	format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH,
 				VIMC_FRAME_MAX_WIDTH) & ~1;
@@ -97,8 +98,18 @@ static int vimc_capture_try_fmt_vid_cap(struct file *file, void *priv,
 		format->pixelformat = fmt_default.pixelformat;
 		vpix = vimc_pix_map_by_pixelformat(format->pixelformat);
 	}
-	/* TODO: Add support for custom bytesperline values */
-	format->bytesperline = format->width * vpix->bpp;
+
+	/* Calculate the minimum supported bytesperline value */
+	min_bpl = format->width * vpix->bpp;
+	/* Calculate the maximum supported bytesperline value */
+	max_bpl = VIMC_FRAME_MAX_WIDTH * vpix->bpp;
+
+	/* Clamp bytesperline to the valid range */
+	if (format->bytesperline > max_bpl)
+		format->bytesperline = max_bpl;
+	if (format->bytesperline < min_bpl)
+		format->bytesperline = min_bpl;
+
 	format->sizeimage = format->bytesperline * format->height;
 
 	if (format->field == V4L2_FIELD_ANY)
Signature · 1 line
2.43.0
#5 lore raw

PATCH 5/5 docs: media: vimc: document RGB/YUV input entity

In reply to Pavan Bobba

Update the vimc admin guide to describe the RGB/YUV input entity and show how to use it in a pipeline.

The existing media-ctl and v4l2-ctl examples are updated to:

Use the correct device name, platform:vimc.0.

Keep the original sensor → debayer → scaler pipeline example.

Add a new example that switches the scaler input to the RGB/YUV entity and requests ARGB output with a padded capture stride via bytesperline.

A new vimc-input subdevice section documents the RGB/YUV frame source entity, its default RGB888 bus format, and how it can be used for software-driven frame injection in pipelines that start after a real debayer stage.

This makes it easier for users to understand and exercise the RGB/YUV input entity in vimc-based experiments.

---
 Documentation/admin-guide/media/vimc.rst | 39 ++++++++++++++++++------
 1 file changed, 30 insertions(+), 9 deletions(-)
Documentation/admin-guide/media/vimc.rst +30 -9
index 29d843a8ddb1..a1b7de769e23 100644
@@ -4,7 +4,7 @@ The Virtual Media Controller Driver (vimc)
 ==========================================
 
 The vimc driver emulates complex video hardware using the V4L2 API and the Media
-API. It has a capture device and three subdevices: sensor, debayer and scaler.
+API. It has a capture device and three subdevices: sensor, debayer, scaler and RGB/YUV input entity.
 
 Topology
 --------
@@ -29,17 +29,28 @@ configuration on each linked subdevice to stream frames through the pipeline.
 If the configuration doesn't match, the stream will fail. The ``v4l-utils``
 package is a bundle of user-space applications, that comes with ``media-ctl`` and
 ``v4l2-ctl`` that can be used to configure the vimc configuration. This sequence
-of commands fits for the default topology:
+-of commands fits for the default topology:
 
 .. code-block:: bash
 
-        media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]'
-        media-ctl -d platform:vimc -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]'
-        media-ctl -d platform:vimc -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
-        media-ctl -d platform:vimc -V '"Scaler":0[crop:(100,50)/400x150]'
-        media-ctl -d platform:vimc -V '"Scaler":1[fmt:RGB888_1X24/300x700]'
-        v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=300,height=700
-        v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
+        media-ctl -d platform:vimc.0 -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]'
+        media-ctl -d platform:vimc.0 -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]'
+        media-ctl -d platform:vimc.0 -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
+        media-ctl -d platform:vimc.0 -V '"Scaler":0[crop:(100,50)/400x150]'
+        media-ctl -d platform:vimc.0 -V '"Scaler":1[fmt:RGB888_1X24/300x700]'
+        v4l2-ctl -z platform:vimc.0 -d "RGB/YUV Capture" -v width=300,height=700
+        v4l2-ctl -z platform:vimc.0 -d "Raw Capture 0" -v pixelformat=BA81
+
+The following commands switch the scaler input to the RGB/YUV entity and request
+ARGB output with a padded capture stride.
+
+.. code-block:: bash
+
+        media-ctl -d platform:vimc.0 -V '"RGB/YUV Input":0[fmt:RGB888_1X24/640x480]'
+        media-ctl -d platform:vimc.0 -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
+        media-ctl -d platform:vimc.0 -V '"Scaler":1[fmt:ARGB8888_1X32/640x480]'
+        v4l2-ctl -z platform:vimc.0 -d "RGB/YUV Capture" \
+                -v pixelformat=RGB3,width=640,height=480,bytesperline=4096
 
 Subdevices
 ----------
@@ -53,6 +64,16 @@ vimc-sensor:
 
 	* 1 Pad source
 
+vimc-input:
+    Simulates an RGB/YUV frame source for pipelines that start after a real
+    debayer stage. It exposes a single source pad that initially advertises
+    ``MEDIA_BUS_FMT_RGB888_1X24`` and accepts the usual width/height updates via
+    ``media-ctl``, which is useful for software-driven frame injection
+    experiments.
+    Exposes:
+
+    * 1 Pad source
+
 vimc-lens:
 	Ancillary lens for a sensor. Supports auto focus control. Linked to
 	a vimc-sensor using an ancillary link. The lens supports FOCUS_ABSOLUTE
Signature · 1 line
2.43.0
maintainer
#6 lore raw
In reply to Pavan Bobba
Quoted 36 lines · Pavan Bobba

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.

Patch 1 adds an RGB/YUV input entity that can be used to simulate pipelines starting after a real debayer stage.

Patch 2 adds V4L2_FIELD_ALTERNATE support to vimc-sensor, allowing it to simulate interlaced sources.

Patch 3 extends the debayer to support multiple RGB output formats.

Patch 4 allows vimc-capture to accept custom bytesperline values so users can exercise padded strides when testing the RGB/YUV path.

Patch 5 updates the vimc documentation with the RGB/YUV input entity and revised media-ctl/v4l2-ctl examples.

Tested with:
- vimc.0 on x86_64 using media-ctl and v4l2-ctl pipelines

Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

  Documentation/admin-guide/media/vimc.rst      |  39 +++-
  drivers/media/test-drivers/vimc/Makefile      |   3 +-
  .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
  drivers/media/test-drivers/vimc/vimc-common.h |   1 +
  drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
  .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
  drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
  drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
  8 files changed, 352 insertions(+), 41 deletions(-)
Quoted 2 lines

create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

Kieran and Hans, Do you have any feedback on this patch series?

thanks,
-- Shuah

#7 lore raw
Quoted 23 lines · Shuah Khan
Quoted 18 lines · Pavan Bobba

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.
Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

  Documentation/admin-guide/media/vimc.rst      |  39 +++-
  drivers/media/test-drivers/vimc/Makefile      |   3 +-
  .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
  drivers/media/test-drivers/vimc/vimc-common.h |   1 +
  drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
  .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
  drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
  drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
  8 files changed, 352 insertions(+), 41 deletions(-)
Quoted 2 lines

create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

Quoted 5 lines

Kieran and Hans, Do you have any feedback on this patch series?

thanks,
-- Shuah

Hi Kieran and Hans,
can you please review?

#8 lore raw
Quoted 25 lines · opensource india
Quoted 23 lines · Shuah Khan
Quoted 20 lines · Pavan Bobba

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.
Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

  Documentation/admin-guide/media/vimc.rst      |  39 +++-
  drivers/media/test-drivers/vimc/Makefile      |   3 +-
  .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
  drivers/media/test-drivers/vimc/vimc-common.h |   1 +
  drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
  .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
  drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
  drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
  8 files changed, 352 insertions(+), 41 deletions(-)

create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

Quoted 8 lines
Quoted 5 lines

Kieran and Hans, Do you have any feedback on this patch series?

thanks,
-- Shuah

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

maintainer
#9 lore raw
Quoted 29 lines · opensource india
Quoted 27 lines · opensource india
Quoted 25 lines · Shuah Khan
Quoted 18 lines · Pavan Bobba

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.
Pavan Bobba (5):
media: vimc: add RGB/YUV input entity implementation
media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
media: vimc: debayer: add support for multiple RGB formats
media: vimc: capture: support custom bytesperline values
docs: media: vimc: document RGB/YUV input entity

   Documentation/admin-guide/media/vimc.rst      |  39 +++-
   drivers/media/test-drivers/vimc/Makefile      |   3 +-
   .../media/test-drivers/vimc/vimc-capture.c    |  15 +-
   drivers/media/test-drivers/vimc/vimc-common.h |   1 +
   drivers/media/test-drivers/vimc/vimc-core.c   |   3 +-
   .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++--
   drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++
   drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-
   8 files changed, 352 insertions(+), 41 deletions(-)
Quoted 2 lines

create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

Kieran and Hans, Do you have any feedback on this patch series?

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

thanks,
-- Shuah

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

thanks,
-- Shuah

maintainer Applied
#10 lore raw
Quoted 34 lines · Shuah Khan
Quoted 33 lines · opensource india
Quoted 31 lines · opensource india
Quoted 28 lines · Shuah Khan
Quoted 17 lines · Pavan Bobba

This series extends the vimc test driver with a new RGB/YUV input entity, pipeline enhancements, and documentation updates.
Pavan Bobba (5):
    media: vimc: add RGB/YUV input entity implementation
    media: vimc: add support for V4L2_FIELD_ALTERNATE in vimc-sensor
    media: vimc: debayer: add support for multiple RGB formats
    media: vimc: capture: support custom bytesperline values
    docs: media: vimc: document RGB/YUV input entity

   Documentation/admin-guide/media/vimc.rst      |  39 +++- drivers/media/test-drivers/vimc/Makefile      |   3 +- .../media/test-drivers/vimc/vimc-capture.c    |  15 +- drivers/media/test-drivers/vimc/vimc-common.h |   1 + drivers/media/test-drivers/vimc/vimc-core.c   |   3 +- .../media/test-drivers/vimc/vimc-debayer.c    | 113 ++++++++-- drivers/media/test-drivers/vimc/vimc-input.c  | 210 ++++++++++++++++++ drivers/media/test-drivers/vimc/vimc-sensor.c |   9 +-

Quoted 3 lines
   8 files changed, 352 insertions(+), 41 deletions(-)

   create mode 100644 drivers/media/test-drivers/vimc/vimc-input.c

Kieran and Hans, Do you have any feedback on this patch series?

thanks,
-- Shuah

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

Applied to [email protected]:/pub/scm/linux/kernel/git/shuah/linux vimc branch

thanks,
-- Shuah

#11 lore raw
In reply to Shuah Khan
Quoted 4 lines · Shuah Khan
Quoted 4 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Quoted 8 lines
Quoted 1 line

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

thanks,
-- Shuah

Thank you so much Shuah

#12 lore raw

Hi Shuah,

Quoted 9 lines · opensource india
Quoted 6 lines · Shuah Khan
Quoted 5 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

Quoted 8 lines
Quoted 6 lines

I will send these up in my pull request to Mauro - it might be later in December of early January.

thanks,
-- Shuah

Thank you so much Shuah

able to pick my changes?

maintainer
#13 lore raw
Quoted 16 lines · opensource india

Hi Shuah,

Quoted 12 lines · opensource india
Quoted 9 lines · Shuah Khan
Quoted 5 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

thanks,
-- Shuah

Thank you so much Shuah

able to pick my changes?

I applied them to vimc branch a while back.

https://web.git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc

thanks,
-- Shuah

#14 lore raw

Hi Shuah

Quoted 24 lines · Shuah Khan
Quoted 22 lines · opensource india

Hi Shuah,

Quoted 17 lines · opensource india
Quoted 4 lines · Shuah Khan
Quoted 4 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Quoted 8 lines
Quoted 1 line

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

thanks,
-- Shuah

Thank you so much Shuah

Quoted 9 lines
Quoted 1 line

able to pick my changes?

I applied them to vimc branch a while back.

https://web.git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc

thanks,
-- Shuah

Thank you so much

#15 lore raw
Quoted 32 lines · opensource india

Hi Shuah

Quoted 28 lines · Shuah Khan
Quoted 16 lines · opensource india

Hi Shuah,

Quoted 12 lines · opensource india
Quoted 9 lines · Shuah Khan
Quoted 5 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

thanks,
-- Shuah

Thank you so much Shuah

able to pick my changes?

I applied them to vimc branch a while back.

Quoted 7 lines
Quoted 5 lines

https://web.git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc

thanks,
-- Shuah

Thank you so much

Hi Shuah, is this patch series going to be part of the mainline kernel?

maintainer
#16 lore raw
Quoted 35 lines · opensource india
Quoted 34 lines · opensource india

Hi Shuah

Quoted 30 lines · Shuah Khan
Quoted 16 lines · opensource india

Hi Shuah,

Quoted 12 lines · opensource india
Quoted 9 lines · Shuah Khan
Quoted 5 lines
Quoted 3 lines

Hi Kieran and Hans,
can you please review?

Hi team, can someone please review?

I will send these up in my pull request to Mauro - it might be later in December of early January.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

thanks,
-- Shuah

Thank you so much Shuah

able to pick my changes?

I applied them to vimc branch a while back.

https://web.git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

thanks,
-- Shuah

Thank you so much

Hi Shuah, is this patch series going to be part of the mainline kernel?

You have to resolve the problems Hans found - take a look at the response to my pull request.

thanks,
-- Shuah