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: v4l2-compliance: relax time32-64 test Author: Hans Verkuil <hverkuil-ci...@xs4all.nl> Date: Wed Nov 24 09:03:12 2021 +0100 The delta between the 64 bit DQEVENT timestamp and the 32 bit timestamp doesn't have to be <= 10 ms, that's too short when run in a VM instance. Change it to 500 ms, that should be fine for this test. It's not about performance, but about checking that the timestamps retrieved through the 32 bit compat API are sane. Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> utils/v4l2-compliance/v4l2-test-time32-64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f23b3481b63939b7e80e15c5e407ba08438f2d53 diff --git a/utils/v4l2-compliance/v4l2-test-time32-64.cpp b/utils/v4l2-compliance/v4l2-test-time32-64.cpp index 919f787aa75a..e175c05523dc 100644 --- a/utils/v4l2-compliance/v4l2-test-time32-64.cpp +++ b/utils/v4l2-compliance/v4l2-test-time32-64.cpp @@ -161,7 +161,7 @@ int testTime32_64(struct node *node) fail_on_test(check_0(ev32.reserved, sizeof(ev32.reserved))); __u64 ev32_ts = ev32.timestamp.tv_sec * 1000000000ULL + ev32.timestamp.tv_nsec; __s64 delta_ms = (ev32_ts - ev_ts) / 1000000; - fail_on_test_val(delta_ms > 10, (int)delta_ms); + fail_on_test_val(delta_ms > 500, (int)delta_ms); info("VIDIOC_DQEVENT 32-bit timespec: %lld ms\n", delta_ms); } @@ -172,7 +172,7 @@ int testTime32_64(struct node *node) fail_on_test(check_0(ev64.reserved, sizeof(ev64.reserved))); __u64 ev64_ts = ev64.timestamp.tv_sec * 1000000000ULL + ev64.timestamp.tv_nsec; __s64 delta_ms = (ev64_ts - ev_ts) / 1000000; - fail_on_test_val(delta_ms > 10, (int)delta_ms); + fail_on_test_val(delta_ms > 500, (int)delta_ms); info("VIDIOC_DQEVENT 64-bit timespec: %lld ms\n", delta_ms); } _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits