mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
Set struct fb_ops and with FB_DEFAULT_IOMEM_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IOMEM_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v3: * use _IOMEM_ in commit message v2: * updated to use _IOMEM_ tokens Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Helge Deller <deller@gmx.de> Cc: Hans Verkuil <hverkuil@xs4all.nl> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230803184034.6456-2-tzimmermann@suse.de
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config VIDEO_VIVID
|
|
tristate "Virtual Video Test Driver"
|
|
depends on VIDEO_DEV && !SPARC32 && !SPARC64 && FB
|
|
depends on HAS_DMA
|
|
select FB_IOMEM_HELPERS
|
|
select FONT_SUPPORT
|
|
select FONT_8x16
|
|
select VIDEOBUF2_VMALLOC
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select VIDEO_V4L2_TPG
|
|
select MEDIA_CONTROLLER
|
|
select MEDIA_CONTROLLER_REQUEST_API
|
|
help
|
|
Enables a virtual video driver. This driver emulates a webcam,
|
|
TV, S-Video and HDMI capture hardware, including VBI support for
|
|
the SDTV inputs. Also video output, VBI output, radio receivers,
|
|
transmitters and software defined radio capture is emulated.
|
|
|
|
It is highly configurable and is ideal for testing applications.
|
|
Error injection is supported to test rare errors that are hard
|
|
to reproduce in real hardware.
|
|
|
|
Say Y here if you want to test video apps or debug V4L devices.
|
|
When in doubt, say N.
|
|
|
|
config VIDEO_VIVID_CEC
|
|
bool "Enable CEC emulation support"
|
|
depends on VIDEO_VIVID
|
|
select CEC_CORE
|
|
help
|
|
When selected the vivid module will emulate the optional
|
|
HDMI CEC feature.
|
|
|
|
config VIDEO_VIVID_MAX_DEVS
|
|
int "Maximum number of devices"
|
|
depends on VIDEO_VIVID
|
|
default "64"
|
|
help
|
|
This allows you to specify the maximum number of devices supported
|
|
by the vivid driver.
|