v4l2-compliance: Add tests for REMOVE_BUFS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest2 patches 0 repliesNew
- v82 patches 3 repliesSuperseded
- v72 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 4 patches | 0 replies | Superseded | |
| v5 | 4 patches | 2 replies | Superseded | |
| v4 | 4 patches | 1 reply | Superseded |
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | v4l2-utils: Add VIDIOC_REMOVE_BUFS ioctlinclude/ | +16 | 0 replies | |
| 2/2 | v4l2-compliance: Add a test for REMOVE_BUFS ioctlutils/ utils/ utils/ +2 more | +146 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v9 yet.
Cover letter [PATCH v9 0/2] v4l2-compliance: Add tests for REMOVE_BUFS
This series add tests for this new field and VIDIOC_REMOVE_BUFS ioctl.
version 9:
- Add tests to check return values when count = 0.
- Add tests to check return values when attempt to remove again buffers.
- Call fail_on_test(q.reqbufs(node, 0)) at the end of the test.
- Do not print WARN if REMOVE_BUFS ioctl isn't supported
- Stop testing if CREATE_BUFS is supported.
version 8:
- Rename structures, function and variables to use 'remove' instead of 'delete.
version 7:
- Remove "v4l2-compliance: Test queue maximum buffers allocation" patches because they have been merged.
- Remove V4L2_BUF_CAP_SUPPORTS_DELETE_BUFS to be aligned with the v18 of the kernel patches
- v4l_queue_querybufs() take care of a range of buffers.
Benjamin Gaignard (2):
v4l2-utils: Add VIDIOC_REMOVE_BUFS ioctl
v4l2-compliance: Add a test for REMOVE_BUFS ioctl
include/linux/videodev2.h | 16 +++ utils/common/cv4l-helpers.h | 4 + utils/common/v4l-helpers.h | 27 ++++- utils/v4l2-compliance/v4l2-compliance.cpp | 1 + utils/v4l2-compliance/v4l2-compliance.h | 1 + utils/v4l2-compliance/v4l2-test-buffers.cpp | 118 ++++++++++++++++++++ 6 files changed, 162 insertions(+), 5 deletions(-)
Signature · 1 line
2.40.1