Skip to content

media: add missing wait_prepare/finish ops

Hans Verkuil linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: atomisp: add missing wait_prepare/finish opsdrivers/staging/media/atomisp/pci/atomisp_fops.c+2 -03 replies
2/4media: omap3isp: add missing wait_prepare/finish opsdrivers/media/platform/ti/omap3isp/ispvideo.c+18 -01 reply
3/4media: pisp_be: add missing wait_prepare/finish opsdrivers/media/platform/raspberrypi/pisp_be/pisp_be.c+2 -01 reply
4/4media: venus: add missing wait_prepare/finish opsdrivers/media/platform/qcom/venus/vdec.c drivers/media/platform/qcom/venus/venc.c+4 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchDikshita AgarwalJacopo MondiSakari Ailus
1/4
2/4A-b
3/4A-b T-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/4] media: 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.

I would appreciate it if these patches can be tested.

I also updated v4l2-compliance so that it executes the blocking wait test even if the '-s' option was not specified. This should improve coverage since not everyone uses that option.

After this series is (hopefully) applied I plan to make changes to avoid the need to set these two ops, unless you need a custom implementation (omap3isp).

Regards,

Hans

Hans Verkuil (4):
media: atomisp: add missing wait_prepare/finish ops
media: omap3isp: add missing wait_prepare/finish ops
media: pisp_be: add missing wait_prepare/finish ops
media: venus: add missing wait_prepare/finish ops

 drivers/media/platform/qcom/venus/vdec.c       |  2 ++
 drivers/media/platform/qcom/venus/venc.c       |  2 ++
 .../platform/raspberrypi/pisp_be/pisp_be.c     |  2 ++
 drivers/media/platform/ti/omap3isp/ispvideo.c  | 18 ++++++++++++++++++
 .../staging/media/atomisp/pci/atomisp_fops.c   |  2 ++
 5 files changed, 26 insertions(+)
Signature · 1 line
2.43.0