diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2024-03-14 16:32:23 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-03-25 12:00:44 +0100 |
commit | 5fb19f20926127d082d7dbc2b5c4d7b0b215ce03 (patch) | |
tree | 82a3b0bb6c74e64b7c40c8620b6d959d23ecbe01 /include/media | |
parent | media: core: Add bitmap manage bufs array entries (diff) | |
download | linux-5fb19f20926127d082d7dbc2b5c4d7b0b215ce03.tar.xz linux-5fb19f20926127d082d7dbc2b5c4d7b0b215ce03.zip |
media: core: Free range of buffers
Improve __vb2_queue_free() and __vb2_free_mem() to free
range of buffers and not only the last few buffers.
Introduce starting index to be flexible on range and change the loops
according to this parameter.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Acked-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