aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2018-06-15 15:07:29 -0400
committerMauro Carvalho Chehab <[email protected]>2018-07-04 08:02:05 -0400
commit4e55969f2308129b0fd1aa90438553728e21ec7d (patch)
treeb9eec71c20b1872f307834afa824a70b299f314b /tools/perf/scripts/python
parente5e4c9c962742b7f8dc8efc3b67f03add20fe467 (diff)
media: davinci_vpfe: Add video_device and vb2_queue locks
Currently, this driver does not serialize its video4linux ioctls, which is a bug, as race conditions might appear. In addition, video_device and vb2_queue locks are now both mandatory. Add them, and implement wait_prepare and wait_finish. To stay on the safe side, this commit uses a single mutex for both locks. Better latency can be obtained by separating these if needed. Signed-off-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions