From: Kieran Bingham <kieran.bingham@ideasonboard.com>
To: Kaaira Gupta <kgupta@es.iitr.ac.in>,
Helen Koike <helen.koike@collabora.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 0/9] media: vimc: Multiple stream support in vimc
Date: Wed, 2 Sep 2020 11:51:59 +0100 [thread overview]
Message-ID: <3e374418-0ea1-783a-3943-0a0921d40725@ideasonboard.com> (raw)
In-Reply-To: <20200819180442.11630-1-kgupta@es.iitr.ac.in>
Hi Kaaira,
Thank you for this series.
I have tested it, and indeed it works well, which is great work.
I know this has been hard to debug some of the code paths!
There are a few bits that are hard for me to understand, with the graph
walking/initialisation - so I think either some better comments or
refactoring might help there - and Dafna has suggested that there might
be a useful helper which will assist too. That needs to be checked
though, as I think your 'streamer' needs to have full visibility of the
whole pipeline, rather than just a single stream.
I wonder if it would help to rename it to make that clearer, as
'vimc_stream' sounds like it deals with only a single stream - but now
it deals with multiple - so the naming is a bit confusing.
--
Kieran
On 19/08/2020 19:04, Kaaira Gupta wrote:
> This series adds supoort for two (or more) capture devices to be
> connected to the same sensors and run simultaneously.
>
> Changes since v2:
> - This series introduces new patches, namely patch 1, 2, 4, 5,
> 7, and 9 to shift multiple captures to operate at a single
> thread.
>
> Kaaira Gupta (7):
> media: vimc: Move get_source_entity to vimc-common
> media: vimc: Add get_frame callback
> media: vimc: Separate starting stream from pipeline initialisation
> media: vimc: Separate closing of stream and thread
> media: vimc: Dynamically allocate stream struct
> media: vimc: Join pipeline if one already exists
> media: vimc: Run multiple captures on same thread
>
> Niklas Söderlund (2):
> media: vimc: Add usage count to subdevices
> media: vimc: Serialize vimc_streamer_s_stream()
>
> .../media/test-drivers/vimc/vimc-capture.c | 42 +++-
> drivers/media/test-drivers/vimc/vimc-common.c | 14 ++
> drivers/media/test-drivers/vimc/vimc-common.h | 21 +-
> .../media/test-drivers/vimc/vimc-debayer.c | 26 ++-
> drivers/media/test-drivers/vimc/vimc-scaler.c | 25 +-
> drivers/media/test-drivers/vimc/vimc-sensor.c | 17 +-
> .../media/test-drivers/vimc/vimc-streamer.c | 213 ++++++++++++------
> .../media/test-drivers/vimc/vimc-streamer.h | 2 +
> 8 files changed, 271 insertions(+), 89 deletions(-)
>
--
Regards
--
Kieran
next prev parent reply other threads:[~2020-09-02 10:52 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-19 18:04 [PATCH v3 0/9] media: vimc: Multiple stream support in vimc Kaaira Gupta
2020-08-19 18:04 ` [PATCH v3 1/9] media: vimc: Move get_source_entity to vimc-common Kaaira Gupta
2020-08-20 15:32 ` Kieran Bingham
2020-08-19 18:04 ` [PATCH v3 2/9] media: vimc: Add get_frame callback Kaaira Gupta
2020-08-20 15:36 ` Kieran Bingham
2020-09-12 10:01 ` Kaaira Gupta
2020-10-02 11:08 ` Dafna Hirschfeld
2020-08-19 18:04 ` [PATCH v3 3/9] media: vimc: Add usage count to subdevices Kaaira Gupta
2020-10-02 11:13 ` Dafna Hirschfeld
2020-08-19 18:04 ` [PATCH v3 4/9] media: vimc: Separate starting stream from pipeline initialisation Kaaira Gupta
2020-08-21 15:11 ` Dafna Hirschfeld
2020-08-21 21:01 ` Kaaira Gupta
2020-08-28 20:37 ` Dafna Hirschfeld
2020-09-02 9:56 ` Kieran Bingham
2020-09-12 10:21 ` Kaaira Gupta
2020-09-12 10:16 ` Kaaira Gupta
2020-08-19 18:04 ` [PATCH v3 5/9] media: vimc: Separate closing of stream and thread Kaaira Gupta
2020-09-02 10:13 ` Kieran Bingham
2020-09-12 10:28 ` Kaaira Gupta
2020-08-19 18:04 ` [PATCH v3 6/9] media: vimc: Serialize vimc_streamer_s_stream() Kaaira Gupta
2020-08-19 18:04 ` [PATCH v3 7/9] media: vimc: Dynamically allocate stream struct Kaaira Gupta
2020-09-02 10:29 ` Kieran Bingham
2020-09-12 10:39 ` Kaaira Gupta
2020-08-19 18:04 ` [PATCH v3 8/9] media: vimc: Join pipeline if one already exists Kaaira Gupta
2020-09-02 10:40 ` Kieran Bingham
2020-08-19 18:04 ` [PATCH v3 9/9] media: vimc: Run multiple captures on same thread Kaaira Gupta
2020-09-02 10:46 ` Kieran Bingham
2020-09-12 10:45 ` Kaaira Gupta
2020-09-02 10:51 ` Kieran Bingham [this message]
2020-09-12 10:49 ` [PATCH v3 0/9] media: vimc: Multiple stream support in vimc Kaaira Gupta
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3e374418-0ea1-783a-3943-0a0921d40725@ideasonboard.com \
--to=kieran.bingham@ideasonboard.com \
--cc=helen.koike@collabora.com \
--cc=kgupta@es.iitr.ac.in \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=skhan@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).