summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>2026-02-11 10:57:11 +0100
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-19 09:01:49 +0200
commit1b0e65a1bd7e2673ae40f0adc07349936a17d461 (patch)
tree5a86cf4fe147b3b4aca7186fac76d74a777198f9 /tools/perf/scripts/python/stackcollapse.py
parentf067b1c9c25079c182aebf50d33b8bc8c49e3a1b (diff)
media: rz2gl-cru: Return pending buffers in order
Buffers are programmed into slots in queueing order. When returning pending buffers we can't simply start from the first slot but we should actually iterate slots starting from the one is use. The rzg3e_cru_irq() handler already uses 'active_slot', make rzg2l_cru_irq() use it as well to know where to start iterating from. As the pattern of iterating over slots in order will be used for slots programming in the next patches, provide an helper macro to do that. While at it, rename return_unused_buffers() to rzg2l_cru_return_buffers(). Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com> Tested-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions