linux/drivers/media
Ricardo Ribalda df23728118 [media] videobuf2-dma-sg: Allocate pages as contiguous as possible
Most DMA engines have limitations regarding the number of DMA segments
(sg-buffers) that they can handle. Videobuffers can easily spread
through hundreds of pages.
In the previous aproach, the pages were allocated individually, this
could led to the creation houndreds of dma segments (sg-buffers) that
could not be handled by some DMA engines.
This patch tries to minimize the number of DMA segments by using
alloc_pages. In the worst case it will behave as before, but most
of the times it will reduce the number of dma segments

Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-09-26 07:33:01 -03:00
..
common [media] sms: fix randconfig building error 2013-08-24 06:57:20 -03:00
dvb-core [media] dib0700: add support for PCTV 2002e & PCTV 2002e SE 2013-07-22 07:48:11 -03:00
dvb-frontends [media] mb86a20s: Fix TS parallel mode 2013-08-22 12:06:29 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] ml86v7667: fix compile warning: 'ret' set but not used 2013-09-03 09:24:17 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] bw-qcam: fix timestamp handling 2013-05-27 09:30:19 -03:00
pci [media] cx88: Fix regression: CX88_AUDIO_WM8775 can't be 0 2013-09-03 09:24:22 -03:00
platform Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
radio Remove GENERIC_HARDIRQ config option 2013-09-13 15:09:52 +02:00
rc [media] media: rc: rdev->open or rdev->close can be NULL 2013-08-23 05:41:23 -03:00
tuners [media] e4000: change remaining pr_warn to dev_warn 2013-08-18 07:52:53 -03:00
usb [media] gspca: print small buffers via %*ph 2013-09-26 07:22:25 -03:00
v4l2-core [media] videobuf2-dma-sg: Allocate pages as contiguous as possible 2013-09-26 07:33:01 -03:00
Kconfig [media] Fix build when drivers are builtin and frontend modules 2013-06-20 10:35:53 -03:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: info leak in __media_device_enum_links() 2013-06-12 18:52:45 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c [media] media: Add support for circular graph traversal 2013-08-18 07:16:48 -03:00