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