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_CORE 36 depends on VIDEO_VIVID=m || FB_CORE=y 37 default y 38 select FB_IOMEM_HELPERS 39 help 40 When selected the vivid module will emulate a Framebuffer for 41 testing Output Overlay. 42 43config VIDEO_VIVID_MAX_DEVS 44 int "Maximum number of devices" 45 depends on VIDEO_VIVID 46 default "64" 47 help 48 This allows you to specify the maximum number of devices supported 49 by the vivid driver. 50