media: dvb/vb2: fix DVB streaming, drop wait_prepare/finish
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | media: dvb-core: dmxdevfilter must always flush bufsdrivers/ drivers/ include/ | +11 | 0 replies | |
| 2/5 | media: dvb-core/dmxdev: drop locks around mmap()drivers/ | +2 | 0 replies | |
| 3/5 | media: dvb-core: dvb_vb2: drop wait_prepare/finish callbacksdrivers/ drivers/ include/ | +30 | 0 replies | |
| 4/5 | media: vb2: remove vb2_ops_wait_prepare/finish helpersDocumentation/ drivers/ include/ | +4 | 0 replies | |
| 5/5 | media: vb2: drop wait_prepare/finish callbacksDocumentation/ drivers/ include/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] media: dvb/vb2: fix DVB streaming, drop wait_prepare/finish
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(-)
Signature · 1 line
2.47.2