Home
last modified time | relevance | path

Searched hist:"1 ade3f3f16986cd7c6fce02feede957f03eb8a42" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_msgs.cdiff 1ade3f3f16986cd7c6fce02feede957f03eb8a42 Mon Nov 21 00:34:42 CST 2022 Ming Qian <ming.qian@nxp.com> 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>
H A Dvpu_v4l2.cdiff 1ade3f3f16986cd7c6fce02feede957f03eb8a42 Mon Nov 21 00:34:42 CST 2022 Ming Qian <ming.qian@nxp.com> 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>