From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
linux-renesas-soc@vger.kernel.org
Subject: Re: [VSP-Tests PATCH 6/7] vsp-lib: Support late queuing of buffers in yavta
Date: Tue, 19 Feb 2019 18:37:41 +0200 [thread overview]
Message-ID: <20190219163741.GE3526@pendragon.ideasonboard.com> (raw)
In-Reply-To: <3fd7a967-fe76-d363-356a-7da27bcab8f6@ideasonboard.com>
Hi Kieran,
On Sun, Feb 17, 2019 at 08:57:51PM +0000, Kieran Bingham wrote:
> On 17/02/2019 12:00, Laurent Pinchart wrote:
> > On Tue, Dec 04, 2018 at 03:51:45PM +0000, Kieran Bingham wrote:
> >> Provide the pass-through option of --queue-late to vsp-runner, to request
> >> that yavta will queue frames after the stream has started.
> >
> > As with 5/7, what is the use case for this ?
>
> I'm sure it had a very good use case at the time.
> Please ask 2 months ago Kieran ... Current Kieran has no idea :)
>
> And then let me borrow your time machine - I have some good uses for it :D
>
> I remember asking you about this option in fact, but I can't remember
> what I was testing specifically, or why I have added this here.
>
> Maybe I was using it to investigate something ... It might perhaps be
> useful to add a test which uses this to make sure the VSP1 is happy with
> late queued frames?
At least part of this is handled internally in videobuf2 without being
exposed to the VSP1 driver. If the exposed part is considered to be
possibly problematic then I would indeed prefer to add a specific test
to cover this.
> >> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
> >> ---
> >> scripts/vsp-lib.sh | 4 ++++
> >> 1 file changed, 4 insertions(+)
> >>
> >> diff --git a/scripts/vsp-lib.sh b/scripts/vsp-lib.sh
> >> index 9140254c7459..3d2792707d24 100755
> >> --- a/scripts/vsp-lib.sh
> >> +++ b/scripts/vsp-lib.sh
> >> @@ -898,6 +898,7 @@ vsp_runner() {
> >> local count=10
> >> local pause=
> >> local skip=7
> >> + local queue_late=
> >>
> >> for option in $* ; do
> >> case $option in
> >> @@ -916,6 +917,8 @@ vsp_runner() {
> >> --skip=*)
> >> skip=${option/--skip=/}
> >> ;;
> >> + --queue-late)
> >> + queue_late=queue-late
>
> erm ... missing ";;"?
>
> >>
> >> *)
> >> return 1
> >> @@ -959,6 +962,7 @@ vsp_runner() {
> >>
> >> $yavta -c$count -n $buffers ${format:+-f $format} ${size:+-s $size} \
> >> ${skip:+--skip $skip} ${file:+--file=$file} ${pause:+-p$pause} \
> >> + ${queue_late:+--$queue_late} \
> >> $videodev | ./logger.sh $entity >> $logfile
> >> }
> >>
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2019-02-19 16:37 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-04 15:51 [VSP-Tests PATCH 0/7] Reset controls and unloved patches Kieran Bingham
2018-12-04 15:51 ` [VSP-Tests PATCH 1/7] tests: add pseudo platform test Kieran Bingham
2019-02-17 2:41 ` Laurent Pinchart
2019-02-17 20:41 ` Kieran Bingham
2018-12-04 15:51 ` [VSP-Tests PATCH 2/7] tests: Provide copy test to validate 1xN streams Kieran Bingham
2019-02-17 2:47 ` Laurent Pinchart
2019-02-17 20:43 ` Kieran Bingham
2018-12-04 15:51 ` [VSP-Tests PATCH 3/7] vsp-lib: Provide command line argument parsing Kieran Bingham
2019-02-17 2:48 ` Laurent Pinchart
2019-02-17 20:47 ` Kieran Bingham
2018-12-04 15:51 ` [VSP-Tests PATCH 4/7] vsp-lib: trivial: Fix spelling of Reference Kieran Bingham
2019-02-17 2:42 ` Laurent Pinchart
2019-02-17 20:48 ` Kieran Bingham
2018-12-04 15:51 ` [VSP-Tests PATCH 5/7] vsp-lib: Allow forcing pixel perfect comparisons Kieran Bingham
2019-02-17 11:59 ` Laurent Pinchart
2019-02-17 20:51 ` Kieran Bingham
2019-02-19 16:35 ` Laurent Pinchart
2018-12-04 15:51 ` [VSP-Tests PATCH 6/7] vsp-lib: Support late queuing of buffers in yavta Kieran Bingham
2019-02-17 12:00 ` Laurent Pinchart
2019-02-17 20:57 ` Kieran Bingham
2019-02-19 16:37 ` Laurent Pinchart [this message]
2018-12-04 15:51 ` [VSP-Tests PATCH 7/7] vsp-lib: Reset controls to defaults on each test run Kieran Bingham
2019-02-17 12:01 ` Laurent Pinchart
2019-02-17 21:00 ` Kieran Bingham
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=20190219163741.GE3526@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=kieran.bingham+renesas@ideasonboard.com \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-renesas-soc@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.