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