linux/drivers/media/video/pwc
Hans de Goede 885fe18f55 [media] pwc: Replace private buffer management code with videobuf2
Looking at the pwc buffer management code has made it clear to me it needed
some serious fixing. Not only was there a ton of code duplication even
internally to pwc (read and mmap wait for frame code was duplicated), the
code also was outright buggy. With the worst offender being dqbuf, which
just round robin returned all the mmap buffers, without paying any attention
to them being queued by the app with qbuf or not. And qbuf itself was a noop.

So I set out to fix this and already had some cleanups in place when
I read Jonathan Corbet's lwn article on videobuf2, this inspired me to just
rip out the buffer management code and replace it with videobuf2, greatly
reducing the amount of code, and fixing all bugs in one go:

Many thanks to Jonathan for the timely article on this !

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27 17:53:43 -03:00
..
Kconfig [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
Makefile
philips.txt tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
pwc-ctrl.c [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
pwc-dec1.c
pwc-dec1.h
pwc-dec23.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pwc-dec23.h
pwc-if.c [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
pwc-ioctl.h [media] Stop using linux/version.h on most video drivers 2011-07-27 17:53:12 -03:00
pwc-kiara.c
pwc-kiara.h
pwc-misc.c [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
pwc-nala.h
pwc-timon.c
pwc-timon.h
pwc-uncompress.c [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
pwc-uncompress.h
pwc-v4l.c [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00
pwc.h [media] pwc: Replace private buffer management code with videobuf2 2011-07-27 17:53:43 -03:00