xref: /linux/drivers/gpu/drm/vkms/Kconfig (revision 24f171c7e145f43b9f187578e89b0982ce87e54c)
1ffcc67cdSHarry Wentland# SPDX-License-Identifier: GPL-2.0-only
2ffcc67cdSHarry Wentland
3ffcc67cdSHarry Wentlandconfig DRM_VKMS
4ffcc67cdSHarry Wentland	tristate "Virtual KMS (EXPERIMENTAL)"
5ffcc67cdSHarry Wentland	depends on DRM && MMU
67e31ad9bSThomas Zimmermann	select DRM_CLIENT_SELECTION
7ffcc67cdSHarry Wentland	select DRM_KMS_HELPER
8ffcc67cdSHarry Wentland	select DRM_GEM_SHMEM_HELPER
9ffcc67cdSHarry Wentland	select CRC32
10*13fc9b97SLouis Chauvet	select CONFIGFS_FS
11ffcc67cdSHarry Wentland	default n
12ffcc67cdSHarry Wentland	help
13ffcc67cdSHarry Wentland	  Virtual Kernel Mode-Setting (VKMS) is used for testing or for
14ffcc67cdSHarry Wentland	  running GPU in a headless machines. Choose this option to get
15ffcc67cdSHarry Wentland	  a VKMS.
16ffcc67cdSHarry Wentland
17ffcc67cdSHarry Wentland	  If M is selected the module will be called vkms.
185b5a56d9SJosé Expósito
195b5a56d9SJosé Expósitoconfig DRM_VKMS_KUNIT_TEST
205b5a56d9SJosé Expósito	tristate "KUnit tests for VKMS" if !KUNIT_ALL_TESTS
215b5a56d9SJosé Expósito	depends on DRM_VKMS && KUNIT
225b5a56d9SJosé Expósito	default KUNIT_ALL_TESTS
235b5a56d9SJosé Expósito	help
245b5a56d9SJosé Expósito	  This builds unit tests for VKMS. This option is not useful for
255b5a56d9SJosé Expósito	  distributions or general kernels, but only for kernel
265b5a56d9SJosé Expósito	  developers working on VKMS.
275b5a56d9SJosé Expósito
285b5a56d9SJosé Expósito	  For more information on KUnit and unit tests in general,
295b5a56d9SJosé Expósito	  please refer to the KUnit documentation in
305b5a56d9SJosé Expósito	  Documentation/dev-tools/kunit/.
315b5a56d9SJosé Expósito
325b5a56d9SJosé Expósito	  If in doubt, say "N".
33