[PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support

Pavan Bobba posted 5 patches 2 months, 2 weeks ago
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
[PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by Pavan Bobba 2 months, 2 weeks ago
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

-- 
2.43.0
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by Shuah Khan 2 months, 2 weeks ago
On 11/20/25 01:49, Pavan Bobba wrote:
> 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
> 

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

thanks,
-- Shuah
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by opensource india 2 months, 1 week ago
On Thu, Nov 20, 2025 at 10:08 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> On 11/20/25 01:49, Pavan Bobba wrote:
> > 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
> >
>
> Kieran and Hans, Do you have any feedback on this patch series?
>
> thanks,
> -- Shuah
>

Hi Kieran and Hans,
can you please review?
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by opensource india 2 months ago
On Fri, Nov 28, 2025 at 8:41 AM opensource india
<opensource206@gmail.com> wrote:
>
> On Thu, Nov 20, 2025 at 10:08 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
> >
> > On 11/20/25 01:49, Pavan Bobba wrote:
> > > 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
> > >
> >
> > 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?
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by Shuah Khan 1 month, 3 weeks ago
On 12/8/25 22:04, opensource india wrote:
> On Fri, Nov 28, 2025 at 8:41 AM opensource india
> <opensource206@gmail.com> wrote:
>>
>> On Thu, Nov 20, 2025 at 10:08 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>>
>>> On 11/20/25 01:49, Pavan Bobba wrote:
>>>> 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
>>>>
>>>
>>> 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?

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

thanks,
-- Shuah

Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by opensource india 1 month, 3 weeks ago
On Tue, Dec 16, 2025 at 12:40 AM Shuah Khan <skhan@linuxfoundation.org> wrote:

> >>
> >> 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
>

Thank you so much Shuah
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by opensource india 1 month, 1 week ago
Hi Shuah,

On Tue, Dec 16, 2025 at 8:27 AM opensource india
<opensource206@gmail.com> wrote:
>
> On Tue, Dec 16, 2025 at 12:40 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> > >>
> > >> 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
> >
>
> Thank you so much Shuah

able to pick my changes?
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by Shuah Khan 1 month, 1 week ago
On 12/29/25 09:04, opensource india wrote:
> Hi Shuah,
> 
> On Tue, Dec 16, 2025 at 8:27 AM opensource india
> <opensource206@gmail.com> wrote:
>>
>> On Tue, Dec 16, 2025 at 12:40 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>
>>>>>
>>>>> 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
>>>
>>
>> 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

Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by opensource india 1 month, 1 week ago
Hi Shuah

On Thu, Jan 1, 2026 at 2:13 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
>
> On 12/29/25 09:04, opensource india wrote:
> > Hi Shuah,
> >
> > On Tue, Dec 16, 2025 at 8:27 AM opensource india
> > <opensource206@gmail.com> wrote:
> >>
> >> On Tue, Dec 16, 2025 at 12:40 AM Shuah Khan <skhan@linuxfoundation.org> wrote:
> >>
> >>>>>
> >>>>> 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
> >>>
> >>
> >> 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
>

Thank you so much
Re: [PATCH 0/5] media: vimc: add RGB/YUV input entity and improve pipeline support
Posted by Shuah Khan 1 month, 3 weeks ago
On 12/15/25 12:10, Shuah Khan wrote:
> On 12/8/25 22:04, opensource india wrote:
>> On Fri, Nov 28, 2025 at 8:41 AM opensource india
>> <opensource206@gmail.com> wrote:
>>>
>>> On Thu, Nov 20, 2025 at 10:08 PM Shuah Khan <skhan@linuxfoundation.org> wrote:
>>>>
>>>> On 11/20/25 01:49, Pavan Bobba wrote:
>>>>> 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
>>>>>
>>>>
>>>> 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?
> 
> I will send these up in my pull request to Mauro - it might be
> later in December of early January.
> 

Applied to git@gitolite.kernel.org:/pub/scm/linux/kernel/git/shuah/linux vimc branch

thanks,
-- Shuah