diff options
| author | Benjamin Gaignard <[email protected]> | 2024-03-14 16:32:22 +0100 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-03-25 12:00:44 +0100 |
| commit | a286b0837e1390c558aabebc4f10b25b1f05bdce (patch) | |
| tree | 59b319c91e67814ead79c1b78e6ce6a11769729d /tools/perf/scripts/python/bin | |
| parent | 6e423b75d0492e82fa6f057c615427ebd7ebe76c (diff) | |
media: core: Add bitmap manage bufs array entries
Add a bitmap field to know which of bufs array entries are
used or not.
Remove no more used num_buffers field from queue structure.
Use bitmap_find_next_zero_area() to find the first possible
range when creating new buffers to fill the gaps.
If no suitable range is found try to allocate less buffers
than requested.
Signed-off-by: Benjamin Gaignard <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions