xref: /linux/drivers/media/test-drivers/vivid/Kconfig (revision dacca5f0fa69f04c2e70aad9847e8250b459971c)
1*dacca5f0SHans Verkuil# SPDX-License-Identifier: GPL-2.0-only
2*dacca5f0SHans Verkuilconfig VIDEO_VIVID
3*dacca5f0SHans Verkuil	tristate "Virtual Video Test Driver"
4*dacca5f0SHans Verkuil	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64 && FB
5*dacca5f0SHans Verkuil	depends on HAS_DMA
6*dacca5f0SHans Verkuil	select FONT_SUPPORT
7*dacca5f0SHans Verkuil	select FONT_8x16
8*dacca5f0SHans Verkuil	select FB_CFB_FILLRECT
9*dacca5f0SHans Verkuil	select FB_CFB_COPYAREA
10*dacca5f0SHans Verkuil	select FB_CFB_IMAGEBLIT
11*dacca5f0SHans Verkuil	select VIDEOBUF2_VMALLOC
12*dacca5f0SHans Verkuil	select VIDEOBUF2_DMA_CONTIG
13*dacca5f0SHans Verkuil	select VIDEO_V4L2_TPG
14*dacca5f0SHans Verkuil	select MEDIA_CONTROLLER
15*dacca5f0SHans Verkuil	select MEDIA_CONTROLLER_REQUEST_API
16*dacca5f0SHans Verkuil	help
17*dacca5f0SHans Verkuil	  Enables a virtual video driver. This driver emulates a webcam,
18*dacca5f0SHans Verkuil	  TV, S-Video and HDMI capture hardware, including VBI support for
19*dacca5f0SHans Verkuil	  the SDTV inputs. Also video output, VBI output, radio receivers,
20*dacca5f0SHans Verkuil	  transmitters and software defined radio capture is emulated.
21*dacca5f0SHans Verkuil
22*dacca5f0SHans Verkuil	  It is highly configurable and is ideal for testing applications.
23*dacca5f0SHans Verkuil	  Error injection is supported to test rare errors that are hard
24*dacca5f0SHans Verkuil	  to reproduce in real hardware.
25*dacca5f0SHans Verkuil
26*dacca5f0SHans Verkuil	  Say Y here if you want to test video apps or debug V4L devices.
27*dacca5f0SHans Verkuil	  When in doubt, say N.
28*dacca5f0SHans Verkuil
29*dacca5f0SHans Verkuilconfig VIDEO_VIVID_CEC
30*dacca5f0SHans Verkuil	bool "Enable CEC emulation support"
31*dacca5f0SHans Verkuil	depends on VIDEO_VIVID
32*dacca5f0SHans Verkuil	select CEC_CORE
33*dacca5f0SHans Verkuil	help
34*dacca5f0SHans Verkuil	  When selected the vivid module will emulate the optional
35*dacca5f0SHans Verkuil	  HDMI CEC feature.
36*dacca5f0SHans Verkuil
37*dacca5f0SHans Verkuilconfig VIDEO_VIVID_MAX_DEVS
38*dacca5f0SHans Verkuil	int "Maximum number of devices"
39*dacca5f0SHans Verkuil	depends on VIDEO_VIVID
40*dacca5f0SHans Verkuil	default "64"
41*dacca5f0SHans Verkuil	help
42*dacca5f0SHans Verkuil	  This allows you to specify the maximum number of devices supported
43*dacca5f0SHans Verkuil	  by the vivid driver.
44