linux/drivers/media/v4l2-core
Mauro Carvalho Chehab 93049b9368 videobuf2-dma-contig: Only support if HAVE_GENERIC_DMA_COHERENT
As reported by Stephen:

> After merging the v4l-dvb tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: "dma_common_get_sgtable" [drivers/media/v4l2-core/videobuf2-dma-contig.ko] undefined!
>
> Caused by commit 9ef2cbeb81 ("[media] v4l: vb2-dma-contig: add support
> for DMABUF exporting").  dma_common_get_sgtable() is called from the
> inline dma_get_sgtable_attrs() and dma_get_sgtable_attrs() is "called
> from" dma_get_sgtable().  dma_common_get_sgtable() is only defined if
> ARCH_HAS_DMA_DECLARE_COHERENT_MEMORY is set which depends on
> CONFIG_HAVE_GENERIC_DMA_COHERENT being set which it isn't for this build.

The simplest fix is to just not support DMABUF with vb2-contig, on archs
where this symbol doesn't exist. Some latter patch can rewrite it to
support this outside -arm.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-26 09:41:09 -02:00
..
Kconfig [media] v4l: vb2-vmalloc: add support for dmabuf importing 2012-11-25 17:18:58 -02:00
Makefile
tuner-core.c
v4l2-common.c [media] v4l2-common: h_bp var is unused at v4l2_detect_gtf() 2012-10-28 07:38:53 -02:00
v4l2-compat-ioctl32.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-ctrls.c [media] v4l: Add control definitions for new H264 encoder features 2012-10-05 22:42:17 -03:00
v4l2-dev.c [media] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-device.c [media] v4l2-ctrls: add a filter function to v4l2_ctrl_add_handler 2012-10-01 17:07:07 -03:00
v4l2-event.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -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] v4l: add buffer exporting via dmabuf 2012-11-25 17:20:47 -02:00
v4l2-mem2mem.c [media] v4l: vb2: add buffer exporting via dmabuf 2012-11-25 17:21:00 -02: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
videobuf2-core.c [media] v4l: vb2: add buffer exporting via dmabuf 2012-11-25 17:21:00 -02:00
videobuf2-dma-contig.c videobuf2-dma-contig: Only support if HAVE_GENERIC_DMA_COHERENT 2012-11-26 09:41:09 -02:00
videobuf2-dma-sg.c
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] v4l: vb2-vmalloc: add support for dmabuf importing 2012-11-25 17:18:58 -02:00
videobuf-core.c [media] v4l: vb: remove warnings about MEMORY_DMABUF 2012-11-25 17:11:24 -02:00
videobuf-dma-contig.c
videobuf-dma-sg.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
videobuf-dvb.c
videobuf-vmalloc.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00