linux/drivers/media/v4l2-core
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
..
Kconfig [media] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA 2013-03-18 18:03:18 -03:00
Makefile [media] v4l2-dv-timings: add new helper module 2013-08-18 08:15:46 -03:00
tuner-core.c [media] tuner-core/simple: get_rf_strength can be tuner mode specific 2013-04-14 19:44:50 -03:00
v4l2-async.c [media] v4l2-async: Use proper list head for iteration over registered subdevs 2013-08-18 09:24:23 -03:00
v4l2-clk.c [media] V4L2: add temporary clock helpers 2013-06-21 16:28:02 -03:00
v4l2-common.c [media] v4l2: move dv-timings related code to v4l2-dv-timings.c 2013-08-18 08:16:54 -03:00
v4l2-compat-ioctl32.c [media] v4l2-core: remove support for obsolete VIDIOC_DBG_G_CHIP_IDENT 2013-06-21 10:46:44 -03:00
v4l2-ctrls.c [media] v4l2-ctrl: Suppress build warning from v4l2_ctrl_new_std_menu() 2013-08-24 04:17:50 -03:00
v4l2-dev.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-09-05 11:55:59 -07:00
v4l2-device.c [media] v4l2-device: check if already unregistered 2013-06-21 11:00:51 -03:00
v4l2-dv-timings.c [media] v4l2-dv-timings: add callback to handle exceptions 2013-08-24 04:30:01 -03:00
v4l2-event.c [media] V4L: Add v4l2_event_subdev_unsubscribe() helper function 2013-02-05 15:04:55 -02:00
v4l2-fh.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-int-device.c
v4l2-ioctl.c [media] v4l2: always require v4l2_dev, rename parent to dev_parent 2013-06-21 11:07:12 -03:00
v4l2-mem2mem.c [media] v4l2-mem2mem: clear m2m context from job_queue before ctx streamoff 2013-08-24 04:04:41 -03:00
v4l2-of.c [media] media: OF: add "sync-on-green-active" property 2013-08-24 04:15:05 -03:00
v4l2-subdev.c [media] v4l: Don't warn during link validation when encountering a V4L2 devnode 2012-11-22 12:09:49 -02:00
videobuf-core.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
videobuf-dma-contig.c [media] videobuf-dma-contig: use vm_iomap_memory() 2013-05-21 09:22:12 -03:00
videobuf-dma-sg.c [media] videobuf_vm_{open,close} race fixes 2013-05-21 08:56:56 -03:00
videobuf-dvb.c
videobuf-vmalloc.c [media] videobuf_vm_{open,close} race fixes 2013-05-21 08:56:56 -03:00
videobuf2-core.c [media] videobuf2: Fix vb2_write prototype 2013-09-26 07:31:06 -03:00
videobuf2-dma-contig.c [media] media: videobuf2: fix the length check for mmap 2013-04-25 09:54:00 -03:00
videobuf2-dma-sg.c [media] videobuf2-dma-sg: Allocate pages as contiguous as possible 2013-09-26 07:33:01 -03:00
videobuf2-memops.c [media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call 2012-11-25 17:20:25 -02:00
videobuf2-vmalloc.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00