mbox series

[0/5] media: dvb/vb2: fix DVB streaming, drop wait_prepare/finish

Message ID cover.1749106659.git.hverkuil@xs4all.nl
Headers show
Series media: dvb/vb2: fix DVB streaming, drop wait_prepare/finish | expand

Message

Hans Verkuil June 5, 2025, 6:57 a.m. UTC
The last user of the vb2 wait_prepare/finish callbacks was dvb-core.

It turned out that the DVB streaming I/O code suffered somewhat from bit
rot, especially since the patches adding streaming I/O support to v4l-utils
were never applied, so there was no way to actually use it in
dvbv5-scan/zap.

I will post a separate series adding support for this, based on the
original patches from 2017 (!).

The first two patches for dvb-core fix two issues found while
regression testing. The last three patches in this series remove the
support for the wait_prepare/finish callbacks.

Regards,

	Hans

Hans Verkuil (5):
  media: dvb-core: dmxdevfilter must always flush bufs
  media: dvb-core/dmxdev: drop locks around mmap()
  media: dvb-core: dvb_vb2: drop wait_prepare/finish callbacks
  media: vb2: remove vb2_ops_wait_prepare/finish helpers
  media: vb2: drop wait_prepare/finish callbacks

 Documentation/driver-api/media/v4l2-dev.rst   |  8 +--
 .../userspace-api/media/conf_nitpick.py       |  2 -
 .../media/common/videobuf2/videobuf2-core.c   | 49 ++++---------------
 .../media/common/videobuf2/videobuf2-v4l2.c   | 14 ------
 drivers/media/dvb-core/dmxdev.c               | 46 ++++++++---------
 drivers/media/dvb-core/dvb_vb2.c              | 45 ++++++-----------
 include/media/dvb_vb2.h                       | 17 ++++---
 include/media/videobuf2-core.h                | 23 ++-------
 include/media/videobuf2-v4l2.h                | 18 -------
 9 files changed, 62 insertions(+), 160 deletions(-)