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