Skip to content

media: bttv: three post-vb2 fixes

Hans Verkuil linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3media: bttv: start_streaming should return a proper error codedrivers/media/pci/bt8xx/bttv-driver.c drivers/media/pci/bt8xx/bttv-vbi.c+5 -90 replies
2/3media: bttv: add back vbi hackdrivers/media/pci/bt8xx/bttv-driver.c+21 -01 reply
3/3media: videobuf2: request more buffers for vb2_readdrivers/media/common/videobuf2/videobuf2-core.c+7 -22 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchDr. David Alan Gilbert
1/3
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] media: bttv: three post-vb2 fixes

Dave, thank you for your detailed bttv bug report:

https://lore.kernel.org/linux-media/ZVK_3UmvmOaCv1tc@gallifrey/

It was very helpful and I managed to reproduce these issues.

This patch series fixes them.

The first patch is unrelated, just something I noticed while debugging this.

The second patch adds back the old bttv behavior of storing the frame counter in the last 4 bytes of the vbi payload when using read().

The final patch fixes the vbi read() behavior where it was alternating between valid data and a zeroed buffer.

I'd appreciate it if you can test this before Dec 11 since I plan to merge on Dec 11 if I don't hear anything.

Regards,

Hans

Hans Verkuil (3):
media: bttv: start_streaming should return a proper error code
media: bttv: add back vbi hack
media: videobuf2: request more buffers for vb2_read

 .../media/common/videobuf2/videobuf2-core.c   |  9 +++++--
 drivers/media/pci/bt8xx/bttv-driver.c         | 27 ++++++++++++++++---
 drivers/media/pci/bt8xx/bttv-vbi.c            |  8 +++---
 3 files changed, 33 insertions(+), 11 deletions(-)
Signature · 1 line
2.42.0