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