diff options
author | Ming Qian <ming.qian@nxp.com> | 2022-11-21 06:34:42 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-11-25 11:27:04 +0000 |
commit | 1ade3f3f16986cd7c6fce02feede957f03eb8a42 (patch) | |
tree | 71b299d165f8f73c28b2e59415f20bebe1c4e1f4 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b3dd974af9de342c733492565ad02d7e23372876 (diff) |
media: amphion: lock and check m2m_ctx in event handler
driver needs to cancel vpu before releasing the vpu instance,
so call v4l2_m2m_ctx_release() first,
to handle the redundant event triggered after m2m_ctx is released.
lock and check m2m_ctx in the event handler.
Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions