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 SUPPORTS_DMABUF check
Author:  Hans Verkuil <[email protected]>
Date:    Thu Nov 15 10:07:31 2018 +0100

This check would fail with older kernels, which is a bit too strict.

Signed-off-by: Hans Verkuil <[email protected]>

 utils/v4l2-compliance/v4l2-test-buffers.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=f61132e81d79880028773b235647892a8340abec
diff --git a/utils/v4l2-compliance/v4l2-test-buffers.cpp 
b/utils/v4l2-compliance/v4l2-test-buffers.cpp
index c59a56d9ced7..a84be0ab799a 100644
--- a/utils/v4l2-compliance/v4l2-test-buffers.cpp
+++ b/utils/v4l2-compliance/v4l2-test-buffers.cpp
@@ -416,9 +416,7 @@ int testReqBufs(struct node *node)
                fail_on_test(ret && ret != EINVAL);
                dmabuf_valid = !ret;
                fail_on_test(!mmap_valid && dmabuf_valid);
-               // Note: dmabuf is only supported with vb2, so we can assume a
-               // non-0 caps value if dmabuf is supported.
-               if (caps || dmabuf_valid)
+               if (caps)
                        fail_on_test(dmabuf_valid ^ !!(caps & 
V4L2_BUF_CAP_SUPPORTS_DMABUF));
 
                fail_on_test((can_stream && !is_overlay) && !mmap_valid && 
!userptr_valid && !dmabuf_valid);

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to