da508f5799
m68k/sun3: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’ drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’: drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function ‘dma_get_sgtable’ Make VIDEOBUF2_DMA_CONTIG and VIDEO_SH_VEU (which selects the former and doesn't have a platform dependency) depend on HAS_DMA to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
96 lines
2 KiB
Text
96 lines
2 KiB
Text
#
|
|
# Generic video config states
|
|
#
|
|
|
|
# Enable the V4L2 core and API
|
|
config VIDEO_V4L2
|
|
tristate
|
|
depends on (I2C || I2C=n) && VIDEO_DEV
|
|
default (I2C || I2C=n) && VIDEO_DEV
|
|
|
|
config VIDEO_ADV_DEBUG
|
|
bool "Enable advanced debug functionality on V4L2 drivers"
|
|
default n
|
|
---help---
|
|
Say Y here to enable advanced debugging functionality on some
|
|
V4L devices.
|
|
In doubt, say N.
|
|
|
|
config VIDEO_FIXED_MINOR_RANGES
|
|
bool "Enable old-style fixed minor ranges on drivers/video devices"
|
|
default n
|
|
---help---
|
|
Say Y here to enable the old-style fixed-range minor assignments.
|
|
Only useful if you rely on the old behavior and use mknod instead of udev.
|
|
|
|
When in doubt, say N.
|
|
|
|
# Used by drivers that need tuner.ko
|
|
config VIDEO_TUNER
|
|
tristate
|
|
depends on MEDIA_TUNER
|
|
|
|
# Used by drivers that need v4l2-mem2mem.ko
|
|
config V4L2_MEM2MEM_DEV
|
|
tristate
|
|
depends on VIDEOBUF2_CORE
|
|
|
|
# Used by drivers that need Videobuf modules
|
|
config VIDEOBUF_GEN
|
|
tristate
|
|
|
|
config VIDEOBUF_DMA_SG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_VMALLOC
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_DMA_CONTIG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_DVB
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
# Used by drivers that need Videobuf2 modules
|
|
config VIDEOBUF2_CORE
|
|
select DMA_SHARED_BUFFER
|
|
tristate
|
|
|
|
config VIDEOBUF2_MEMOPS
|
|
tristate
|
|
|
|
config VIDEOBUF2_DMA_CONTIG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|
|
select DMA_SHARED_BUFFER
|
|
|
|
config VIDEOBUF2_VMALLOC
|
|
tristate
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|
|
select DMA_SHARED_BUFFER
|
|
|
|
config VIDEOBUF2_DMA_SG
|
|
tristate
|
|
#depends on HAS_DMA
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|
|
|
|
config VIDEO_V4L2_INT_DEVICE
|
|
tristate "V4L2 int device (DEPRECATED)"
|
|
depends on VIDEO_V4L2
|
|
---help---
|
|
An early framework for a hardware-independent interface for
|
|
image sensors and bridges etc. Currently used by omap24xxcam and
|
|
tcm825x drivers that should be converted to V4L2 subdev.
|
|
|
|
Do not use for new developments.
|
|
|