public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] media: bttv: three post-vb2 fixes
@ 2023-11-30 12:58 Hans Verkuil
  2023-11-30 12:58 ` [PATCH 1/3] media: bttv: start_streaming should return a proper error code Hans Verkuil
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Hans Verkuil @ 2023-11-30 12:58 UTC (permalink / raw)
  To: linux-media; +Cc: Dr . David Alan Gilbert, Deborah Brouwer

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(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-12-04  8:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30 12:58 [PATCH 0/3] media: bttv: three post-vb2 fixes Hans Verkuil
2023-11-30 12:58 ` [PATCH 1/3] media: bttv: start_streaming should return a proper error code Hans Verkuil
2023-11-30 12:58 ` [PATCH 2/3] media: bttv: add back vbi hack Hans Verkuil
2023-12-03 16:17   ` Dr. David Alan Gilbert
2023-11-30 12:58 ` [PATCH 3/3] media: videobuf2: request more buffers for vb2_read Hans Verkuil
2023-12-03 16:46   ` Dr. David Alan Gilbert
2023-12-04  8:48     ` Hans Verkuil
2023-11-30 14:26 ` [PATCH 0/3] media: bttv: three post-vb2 fixes Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox