diff options
| author | Sakari Ailus <[email protected]> | 2018-02-02 05:08:59 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-02-26 08:02:52 -0500 |
| commit | 03703ed1debf777ea845aa9b50ba2e80a5e7dd3c (patch) | |
| tree | 2a483ee3c99ced80a8385b904428ea951fca9022 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 65243386f41d38460bfd4375d231a7c0346d0401 (diff) | |
media: vb2: core: Finish buffers at the end of the stream
If buffers were prepared or queued and the buffers were released without
starting the queue, the finish mem op (corresponding to the prepare mem
op) was never called to the buffers.
Before commit a136f59c0a1f there was no need to do this as in such a case
the prepare mem op had not been called yet. Address the problem by
explicitly calling finish mem op when the queue is stopped if the buffer
is in either prepared or queued state.
Fixes: a136f59c0a1f ("[media] vb2: Move buffer cache synchronisation to prepare from queue")
Cc: [email protected] # for v4.13 and up
Signed-off-by: Sakari Ailus <[email protected]>
Tested-by: Devin Heitmueller <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions