linux-stable-rt/drivers/media/video
Mauro Carvalho Chehab 7a7d9a89d0 V4L/DVB (6251): Replace video-buf to a more generic approach
video-buf currently does two different tasks:

- Manages video buffers with a common code that allows
  implementing all the V4L2 different modes of buffering;

- Controls memory allocations

While the first task is generic, the second were written to support PCI DMA
Scatter/Gather needs. The original approach can't even work for those
video capture hardware that don't support scatter/gather.

I did one approach to make it more generic. While the approach worked
fine for vivi driver, it were not generic enough to handle USB needs.

This patch creates two different modules, one containing the generic
video buffer handling (videobuf-core) and another with PCI DMA S/G.
After this patch, it would be simpler to write an USB video-buf and a
non-SG DMA module.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
http://thread.gmane.org/gmane.comp.video.video4linux/34978/focus=34981
Reviewed-by: Ricardo Cerqueira <v4l@cerqueira.org>
2007-10-09 22:14:55 -03:00
..
bt8xx V4L/DVB (6249): Add Typhoon Tv-Tuner PCI to bttv-cards.c 2007-10-09 22:14:55 -03:00
cpia2 V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
cx88 V4L/DVB (6247): Fix bug #8689: Fixes IR stop/start during suspend/resume 2007-10-09 22:14:51 -03:00
cx23885 V4L/DVB (6224): VIDEO_CX23885 depends on DVB_CORE 2007-10-09 22:14:40 -03:00
cx25840 V4L/DVB (6142): cx25840: fix build warning 2007-10-09 22:07:51 -03:00
em28xx V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
et61x251 V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
ivtv V4L/DVB (6123): ivtv: move ivtv.h public header to include/linux 2007-10-09 22:07:28 -03:00
ovcamchip V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
pvrusb2 V4L/DVB (6212): pvrusb2: I2C adapter tweaks from Jean Delvare 2007-10-09 22:14:35 -03:00
pwc V4L/DVB (6237): Oops in pwc v4l driver 2007-10-09 22:14:49 -03:00
saa7134 V4L/DVB (6225): AverTV Studio 307 has only one composite input 2007-10-09 22:14:45 -03:00
sn9c102 V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
usbvideo
usbvision V4L/DVB (6214): usbvision: Don't support I2C_M_REV_DIR_ADDR 2007-10-09 22:14:35 -03:00
zc0301 V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
Kconfig V4L/DVB (6151): include drivers/media/video/cx23885/Kconfig 2007-10-09 22:07:59 -03:00
Makefile V4L/DVB (6150): Add CX23885/CX23887 PCIe bridge driver 2007-10-09 22:07:56 -03:00
adv7170.c
adv7175.c
arv.c V4L/DVB (5983): Arv.c: fix memset in ioctl 2007-10-09 22:04:40 -03:00
bt819.c
bt856.c
bt866.c V4L/DVB (5858): Use msecs_to_jiffies instead of HZ on media/video I2C drivers 2007-07-20 17:35:49 -03:00
btcx-risc.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
btcx-risc.h
bw-qcam.c V4L/DVB (6250): bw-qcam use data_reverse instead of manually poking the control register fix 2007-10-09 22:14:55 -03:00
bw-qcam.h
c-qcam.c V4L/DVB (5860): Use msecs_to_jiffies instead of HZ on some webcam drivers 2007-07-20 17:35:50 -03:00
cafe_ccic-regs.h
cafe_ccic.c V4L/DVB (6235): cafe_ccic: default to allocating DMA buffers at probe time 2007-10-09 22:14:49 -03:00
compat_ioctl32.c V4L/DVB (5989): V4L: Add additional ioctls to compat_ioctl32 2007-10-09 22:04:45 -03:00
cpia.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
cpia.h
cpia_pp.c
cpia_usb.c
cs53l32a.c
cs8420.h
cx2341x.c V4L/DVB (6088): cx2341x: some controls can't be changed while the device is busy 2007-10-09 22:06:42 -03:00
dabfirmware.h
dabusb.c
dabusb.h
dpc7146.c
font.h
hexium_gemini.c
hexium_orion.c
ibmmpeg2.h
indycam.c
indycam.h
ir-kbd-i2c.c V4L/DVB (6196): cx23885: add support for DViCO FusionHDTV 5 Express 2007-10-09 22:14:29 -03:00
ks0127.c
ks0127.h
meye.c
meye.h
msp3400-driver.c V4L/DVB (6125): whitespace cleanup: replace leading spaces with tabs 2007-10-09 22:07:29 -03:00
msp3400-driver.h
msp3400-kthreads.c
mt20xx.c V4L/DVB (6130): mt20xx: convert from tuner sub-driver into dvb_frontend module 2007-10-09 22:07:39 -03:00
mt20xx.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
mxb.c
mxb.h
ov511.c
ov511.h
ov7670.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
planb.c V4L/DVB (6125): whitespace cleanup: replace leading spaces with tabs 2007-10-09 22:07:29 -03:00
planb.h
pms.c
saa711x.c
saa711x_regs.h
saa5246a.c
saa5246a.h
saa5249.c V4L/DVB (5858): Use msecs_to_jiffies instead of HZ on media/video I2C drivers 2007-07-20 17:35:49 -03:00
saa6588.c V4L/DVB (6215): Bugfix for saa6588.c, add forgotten spin_lock_init() 2007-10-09 22:14:35 -03:00
saa7110.c V4L/DVB (5858): Use msecs_to_jiffies instead of HZ on media/video I2C drivers 2007-07-20 17:35:49 -03:00
saa7111.c
saa7114.c
saa7115.c
saa7121.h
saa7127.c V4L/DVB (6116): ivtv: VBI cleanups and fixes 2007-10-09 22:07:14 -03:00
saa7146.h
saa7146reg.h
saa7185.c
saa7191.c V4L/DVB (6148): Fix a warning at saa7191_probe 2007-09-14 13:13:42 -03:00
saa7191.h
saa7196.h
se401.c
se401.h
stradis.c
stv680.c
stv680.h
tcm825x.c V4L/DVB (6220): TCM825x: Add support for vidioc_int_g_ifparm call, small cleanups 2007-10-09 22:14:40 -03:00
tcm825x.h V4L/DVB (6220): TCM825x: Add support for vidioc_int_g_ifparm call, small cleanups 2007-10-09 22:14:40 -03:00
tda7432.c
tda8290.c V4L/DVB (6140): tda8290: add get_rf_strength and improve status reading efficiency 2007-10-09 22:07:49 -03:00
tda8290.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
tda9840.c
tda9840.h
tda9875.c
tda9887.c V4L/DVB (6127): tuner: kill i2c_client interface to tuner sub-drivers 2007-10-09 22:07:34 -03:00
tea5761.c V4L/DVB (6138): tea5761: add get_rf_strength and improve status reading efficiency 2007-10-09 22:07:46 -03:00
tea5761.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
tea5767.c V4L/DVB (6139): tea5767: add get_rf_strength and improve status reading efficiency 2007-10-09 22:07:49 -03:00
tea5767.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
tea6415c.c
tea6415c.h
tea6420.c
tea6420.h
tlv320aic23b.c
tuner-3036.c
tuner-core.c V4L/DVB (6196): cx23885: add support for DViCO FusionHDTV 5 Express 2007-10-09 22:14:29 -03:00
tuner-driver.h V4L/DVB (6133): tuner-simple: convert from tuner sub-driver into dvb_frontend module 2007-10-09 22:07:41 -03:00
tuner-i2c.h V4L/DVB (6127): tuner: kill i2c_client interface to tuner sub-drivers 2007-10-09 22:07:34 -03:00
tuner-simple.c V4L/DVB (6137): tuner-simple: add get_rf_strength and improve status reading efficiency 2007-10-09 22:07:45 -03:00
tuner-simple.h V4L/DVB (6134): tuner: alter build to produce separate modules 2007-10-09 22:07:43 -03:00
tuner-types.c V4L/DVB (5978): tuner: Better tuner radio support 2007-10-09 22:04:34 -03:00
tvaudio.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
tveeprom.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
tvmixer.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
tvp5150.c
tvp5150_reg.h
upd64031a.c
upd64083.c
v4l1-compat.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
v4l2-common.c V4L/DVB (6088): cx2341x: some controls can't be changed while the device is busy 2007-10-09 22:06:42 -03:00
v4l2-int-device.c V4L/DVB (6218): V4L: Int if: Use -ENOIOCTLCMD for nonexistent ioctls 2007-10-09 22:14:39 -03:00
video-buf-dvb.c V4L/DVB (5988): Fix OOP on videobuf-dvb when hibernating 2007-10-09 22:04:45 -03:00
video-buf.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
videobuf-core.c V4L/DVB (6251): Replace video-buf to a more generic approach 2007-10-09 22:14:55 -03:00
videobuf-dma-sg.c V4L/DVB (6251): Replace video-buf to a more generic approach 2007-10-09 22:14:55 -03:00
videocodec.c
videocodec.h
videodev.c V4L/DVB (5982): Dev.c: memset fix 2007-10-09 22:04:39 -03:00
vino.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
vino.h
vivi.c V4L/DVB (6014): vivi: use videobuf_read_stream() 2007-10-09 22:05:10 -03:00
vp27smpx.c V4L/DVB (6044): vp27smpx: clarify history of this source. 2007-10-09 22:05:30 -03:00
vpx3220.c
w9966.c
w9968cf.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
w9968cf.h
w9968cf_decoder.h
w9968cf_vpp.h
wm8739.c V4L/DVB (5880): wm8775/wm8739: Fix memory leak when unloading module 2007-07-20 17:35:57 -03:00
wm8775.c V4L/DVB (5880): wm8775/wm8739: Fix memory leak when unloading module 2007-07-20 17:35:57 -03:00
zoran.h V4L/DVB (5890): zr36067: Add UYVY, RGB555X, RGB565X, and RGB32 formats 2007-07-30 16:26:26 -03:00
zoran_card.c V4L/DVB (5885): zr36067: Fix problems with module parameters 2007-10-09 22:02:58 -03:00
zoran_card.h V4L/DVB (5884): zr36067: clean up debug function 2007-10-09 22:02:57 -03:00
zoran_device.c V4L/DVB (5885): zr36067: Fix problems with module parameters 2007-10-09 22:02:58 -03:00
zoran_device.h
zoran_driver.c V4L/DVB (5981): Zoran_driver.c: fix memset in ioctl 2007-10-09 22:04:38 -03:00
zoran_procfs.c V4L/DVB (5884): zr36067: clean up debug function 2007-10-09 22:02:57 -03:00
zoran_procfs.h
zr364xx.c
zr36016.c V4L/DVB (6078): Coding style fix drivers/media/video/zr36016.c 2007-10-09 22:06:07 -03:00
zr36016.h
zr36050.c V4L/DVB (6077): Coding style fix drivers/media/video/zr36050.c 2007-10-09 22:06:06 -03:00
zr36050.h
zr36057.h
zr36060.c V4L/DVB (6076): Coding style fix drivers/media/video/zr36060.c 2007-10-09 22:06:05 -03:00
zr36060.h