From patchwork Tue Dec 4 15:51:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 10712137 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 19C52109C for ; Tue, 4 Dec 2018 15:52:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 07E152C1E8 for ; Tue, 4 Dec 2018 15:52:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 058842C1E2; Tue, 4 Dec 2018 15:52:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0AF62C1EC for ; Tue, 4 Dec 2018 15:52:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726445AbeLDPv7 (ORCPT ); Tue, 4 Dec 2018 10:51:59 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:33640 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726421AbeLDPv7 (ORCPT ); Tue, 4 Dec 2018 10:51:59 -0500 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5F969E4F; Tue, 4 Dec 2018 16:51:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1543938713; bh=sjGCWQYsuuF0eM3+Tmj3Kb12LTguivikSA0X18sHq7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FdEomJCF+ajQPM0QilEhQMJTPD6dIzVU3pMPq8ZlMW4sNH1OHljhQGREqqcu/WzyQ iL21ZR48LLQjQZxA7gfKP2fhIAgWAzRe+y0ghLnwr/l10WhBu2f1r/cLK3ZGME8ysP KoSGggphp3zZ5PHp3ZWi37mTEmh/aeWikG7+YCco= From: Kieran Bingham To: Laurent Pinchart Cc: Kieran Bingham , linux-renesas-soc@vger.kernel.org, Kieran Bingham Subject: [VSP-Tests PATCH 6/7] vsp-lib: Support late queuing of buffers in yavta Date: Tue, 4 Dec 2018 15:51:45 +0000 Message-Id: <20181204155146.9726-7-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181204155146.9726-1-kieran.bingham@ideasonboard.com> References: <20181204155146.9726-1-kieran.bingham@ideasonboard.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Provide the pass-through option of --queue-late to vsp-runner, to request that yavta will queue frames after the stream has started. Signed-off-by: Kieran Bingham --- 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 *) 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 }