~libv4l/libv4l/dev

Viewing all changes in revision 4385.

  • Committer: Hans Verkuil
  • Date: 2020-02-21 11:44:21 UTC
  • Revision ID: git-v1:5709252ce51b84f88db3a733770cf2b88b4b4f9e
v4l2-compliance: improve USERPTR streaming tests

Verify that no memory before/after the actual buffer was
written. This helps testing flaky DMA engines that say they
can do USERPTR with contiguous or scatter-gather DMA, but in
reality they can't cope with the corner cases in the first
and last page of the malloc()ed data where you only write
part of a page.

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: