summaryrefslogtreecommitdiffstats
path: root/Documentation/userspace-api
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 17:34:59 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 12:37:39 +0100
commitc838530d230bc638d79b78737fc4488ffc28c1ee (patch)
tree1394d010538afaa6ae3d2f7532763d7d7326d023 /Documentation/userspace-api
parent4545ca51dd5bd1a652d514a5de9e8ec97579a5b1 (diff)
downloadlinux-stable-c838530d230bc638d79b78737fc4488ffc28c1ee.tar.gz
linux-stable-c838530d230bc638d79b78737fc4488ffc28c1ee.tar.bz2
linux-stable-c838530d230bc638d79b78737fc4488ffc28c1ee.zip
media: media videobuf2: Be more flexible on the number of queue stored buffers
Add 'max_num_buffers' field in vb2_queue struct to let drivers decide how many buffers could be stored in a queue. This require 'bufs' array to be allocated at queue init time and freed when releasing the queue. By default VB2_MAX_FRAME remains the limit. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'Documentation/userspace-api')
0 files changed, 0 insertions, 0 deletions