aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorBenjamin Gaignard <[email protected]>2023-11-09 17:29:21 +0100
committerMauro Carvalho Chehab <[email protected]>2023-11-23 11:58:01 +0100
commite03bcb28989154de1f8998a9bdd62e9aaaed98d7 (patch)
treeebf981fd05676031ae5910095c99e238f3dba076 /tools/perf/scripts/python/check-perf-trace.py
parentda8fc26b0b7d6c0cf46695ef717458fa248a71fb (diff)
media: amphion: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array. This allows us to change the type of the bufs in the future. After each call to vb2_get_buffer() we need to be sure that we get a valid pointer so check the return value of all of them. Signed-off-by: Benjamin Gaignard <[email protected]> Reviewed-by: Andrzej Pietrasiewicz <[email protected]> CC: Ming Qian <[email protected]> CC: Zhou Peng <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions