commit | f1db5d978d88c75cfb1bcac74fbf06f77b86b7c3 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel@collabora.com> | Fri Jun 15 15:07:25 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Wed Jul 04 08:00:53 2018 -0400 |
tree | 1c0de9aa4b25f941657b82ca54d4cc6183998432 | |
parent | cd63c0288fd760ce7de247fba618e2bbcfc0c35c [diff] |
media: mtk-mdp: Add locks for capture and output vb2_queues Use the mutex in struct mtk_mdp_ctx to protect the capture and output vb2_queues. This allows to replace the ad-hoc wait_{prepare, finish} with vb2_ops_wait_{prepare, finish}. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>