diff options
| author | Marek Szyprowski <[email protected]> | 2011-08-24 06:36:26 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2011-09-06 15:03:49 -0300 |
| commit | c1426bc727b78808fb956f7402b689144c1506ee (patch) | |
| tree | dd6f9667e01bfacd8f9674149c32ef774c2f0605 /tools/perf/scripts/python/syscall-counts.py | |
| parent | a6bd62be5a3e3a2eee9c0c1d7c04cb52cff3e073 (diff) | |
[media] media: vb2: add a check if queued userptr buffer is large enough
Videobuf2 accepted any userptr buffer without verifying if its size is
large enough to store the video data from the driver. The driver reports
the minimal size of video data once in queue_setup and expects that
videobuf2 provides buffers that match these requirements. This patch
adds the required check.
Reported-by: Laurent Pinchart <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
CC: Pawel Osciak <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions