aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-12-07 00:53:50 +0100
committerMauro Carvalho Chehab <[email protected]>2021-01-04 12:13:09 +0100
commit2e2279b53a9f48b6bab045a41096dbd781020cdd (patch)
tree6ea3a865232b7ff02c6d092fa14ec60e1aef3ae7 /tools/perf/scripts/python/bin/stackcollapse-record
parentca4fec54f6ba0825532ac21698cf2b7324d02737 (diff)
media: ti-vpe: cal: Set cal_dmaqueue.pending to NULL when no pending buffer
When a pending buffer becomes active, the cal_dmaqueue.active field is updated, but the pending field keeps the same value until a new buffer becomes pending. This requires handling the special case of pending == active in different places. Simplify the code by setting the pending field to NULL when the pending buffer becomes active. Buffers are now simply moved from queue to pending and from pending to active. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Benoit Parrot <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions