This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: test-media: increase sleep after modprobe vivid to 3
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Tue Nov 9 16:14:56 2021 +0100

A sleep of 1 is apparently sometimes too short and the
following v4l2-ctl calls fail. Increment to 3 and hope that
that is sufficient. Also reload vivid with the same
cache_hints module option as the first modprobe for vivid.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 contrib/test/test-media | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=c960b297161b05facdb80a9016d79beae32283eb
diff --git a/contrib/test/test-media b/contrib/test/test-media
index 4f453557a61a..b928c39f8bff 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -187,7 +187,7 @@ fi
 
 rmmod vivid 2&>/dev/null
 modprobe vivid n_devs=3 multiplanar=1,2,2 cache_hints=1,0,0 #allocators=0,1,1
-sleep 1
+sleep 3
 
 tmp=`mktemp`
 
@@ -314,8 +314,8 @@ if [ $vivid -eq 1 -a $setup -eq 0 ]; then
                echo
        fi
 
-       modprobe vivid n_devs=3 multiplanar=1,2,2 #allocators=0,1,1
-       sleep 1
+       modprobe vivid n_devs=3 multiplanar=1,2,2 cache_hints=1,0,0 
#allocators=0,1,1
+       sleep 3
 
        $v4l2_ctl -z platform:vivid-002 -d vivid-002-vid-cap -i3 -v 
width=3840,height=2160,pixelformat=NV24
        $v4l2_ctl -z platform:vivid-002 -d vivid-002-vid-out -o1 -x 
width=3840,height=2160,pixelformat=NM16

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to