1# SPDX-License-Identifier: GPL-2.0-only
2
3menuconfig V4L_TEST_DRIVERS
4	bool "V4L test drivers"
5	depends on VIDEO_DEV
6
7if V4L_TEST_DRIVERS
8
9source "drivers/media/test-drivers/vimc/Kconfig"
10
11source "drivers/media/test-drivers/vivid/Kconfig"
12
13config VIDEO_VIM2M
14	tristate "Virtual Memory-to-Memory Driver"
15	depends on VIDEO_DEV && VIDEO_V4L2
16	select VIDEOBUF2_VMALLOC
17	select V4L2_MEM2MEM_DEV
18	select MEDIA_CONTROLLER
19	select MEDIA_CONTROLLER_REQUEST_API
20	help
21	  This is a virtual test device for the memory-to-memory driver
22	  framework.
23
24source "drivers/media/test-drivers/vicodec/Kconfig"
25
26endif #V4L_TEST_DRIVERS
27