]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: venus: add missing wait_prepare/finish ops
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 2 Sep 2024 08:31:24 +0000 (10:31 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 12 Oct 2024 13:53:48 +0000 (15:53 +0200)
commit547629f7b167a5f27a040e80aa7991b12172ef0e
tree6238645a413cac998067d813443a5f662c80e836
parent5e53592063f344658d0876b448a2e5ec09a9883d
media: venus: add missing wait_prepare/finish ops

Without these ops the v4l2-compliance blocking wait test will fail.
These ops are required to ensure that when VIDIOC_DQBUF has to
wait for buffers to arrive, the queue lock is correctly released
and retaken. Otherwise the wait for a buffer would block all other
queue ioctls.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Reviewed-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/venus/vdec.c
drivers/media/platform/qcom/venus/venc.c