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