summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2024-03-18 14:48:56 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-03-25 12:00:44 +0100
commitf5131d5ce49ef942a3bda5f4a0f6228b1ea40eee (patch)
tree89fb633804b3840fe600409a538e666d23965557 /include/media
parent6662edcd32ccf939849cd1cd4ff04733a20ef97a (diff)
downloadlinux-f5131d5ce49ef942a3bda5f4a0f6228b1ea40eee.tar.gz
linux-f5131d5ce49ef942a3bda5f4a0f6228b1ea40eee.tar.bz2
linux-f5131d5ce49ef942a3bda5f4a0f6228b1ea40eee.zip
media: test-drivers: Set REQBUFS minimum number of buffers
Instead of using 'min_queued_buffers' field to specify the minimum number of buffers to be allocated when calling REQBUF use 'min_reqbufs_allocation' field which is dedicated to this purpose. Change the minimum requested buffers to 2 for vivid-meta-out and vivid-touch-cap drivers when creating the queues. That allows to remove code which prohibe to allocate only one buffer in their respective queue setup functions. While at it rename vivid_create_queue() parameter. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions