diff options
author | Laurent Pinchart <[email protected]> | 2022-03-18 18:44:35 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-05-13 11:02:21 +0200 |
commit | 7101d1279917e5c7fe897c275c5a0727fe90f3e3 (patch) | |
tree | 0a79d4dacf58ec703fb85ee1bebd4e6c0b3fbb02 /tools/perf/scripts/python/stackcollapse.py | |
parent | 117368f0c4773d19d496335d8f5bd54f75348954 (diff) |
media: videobuf2-v4l2: Expose vb2_queue_is_busy() to drivers
vb2 queue ownership is managed by the ioctl handler helpers
(vb2_ioctl_*). There are however use cases where drivers can benefit
from checking queue ownership, for instance when open-coding an ioctl
handler that needs to perform additional checks before calling the
corresponding vb2 operation.
Expose the vb2_queue_is_busy() function in the videobuf2-v4l2.h header,
and change its first argument to a struct vb2_queue pointer as the
function name implies it operates on a queue, not a video_device.
Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions