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	select MEDIA_CONTROLLER_REQUEST_API
14	help
15	  Enables a virtual video driver. This driver emulates a webcam,
16	  TV, S-Video and HDMI capture hardware, including VBI support for
17	  the SDTV inputs. Also video output, VBI output, radio receivers,
18	  transmitters and software defined radio capture is emulated.
19
20	  It is highly configurable and is ideal for testing applications.
21	  Error injection is supported to test rare errors that are hard
22	  to reproduce in real hardware.
23
24	  Say Y here if you want to test video apps or debug V4L devices.
25	  When in doubt, say N.
26
27config VIDEO_VIVID_CEC
28	bool "Enable CEC emulation support"
29	depends on VIDEO_VIVID
30	select CEC_CORE
31	help
32	  When selected the vivid module will emulate the optional
33	  HDMI CEC feature.
34
35config VIDEO_VIVID_MAX_DEVS
36	int "Maximum number of devices"
37	depends on VIDEO_VIVID
38	default "64"
39	help
40	  This allows you to specify the maximum number of devices supported
41	  by the vivid driver.
42