]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/vkms: Create separate Kconfig file for VKMS
authorHarry Wentland <harry.wentland@amd.com>
Wed, 8 Nov 2023 16:36:22 +0000 (11:36 -0500)
committerMelissa Wen <melissa.srw@gmail.com>
Tue, 2 Jan 2024 13:04:54 +0000 (12:04 -0100)
This aligns with most other DRM drivers and will allow
us to add new VKMS config options without polluting
the DRM Kconfig.

v3:
 - Change SPDX to GPL-2.0-only to match DRM KConfig
   SPDX (Simon)

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231108163647.106853-4-harry.wentland@amd.com
drivers/gpu/drm/Kconfig
drivers/gpu/drm/vkms/Kconfig [new file with mode: 0644]

index 4b8b8f8a0e72b0aafc0ae4ca2df5ca3445f2ce24..628f90ed8a9be02cda99a644ed8e0ca51b0f8bfb 100644 (file)
@@ -287,19 +287,7 @@ config DRM_VGEM
          as used by Mesa's software renderer for enhanced performance.
          If M is selected the module will be called vgem.
 
-config DRM_VKMS
-       tristate "Virtual KMS (EXPERIMENTAL)"
-       depends on DRM && MMU
-       select DRM_KMS_HELPER
-       select DRM_GEM_SHMEM_HELPER
-       select CRC32
-       default n
-       help
-         Virtual Kernel Mode-Setting (VKMS) is used for testing or for
-         running GPU in a headless machines. Choose this option to get
-         a VKMS.
-
-         If M is selected the module will be called vkms.
+source "drivers/gpu/drm/vkms/Kconfig"
 
 source "drivers/gpu/drm/exynos/Kconfig"
 
diff --git a/drivers/gpu/drm/vkms/Kconfig b/drivers/gpu/drm/vkms/Kconfig
new file mode 100644 (file)
index 0000000..b9ecdeb
--- /dev/null
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config DRM_VKMS
+       tristate "Virtual KMS (EXPERIMENTAL)"
+       depends on DRM && MMU
+       select DRM_KMS_HELPER
+       select DRM_GEM_SHMEM_HELPER
+       select CRC32
+       default n
+       help
+         Virtual Kernel Mode-Setting (VKMS) is used for testing or for
+         running GPU in a headless machines. Choose this option to get
+         a VKMS.
+
+         If M is selected the module will be called vkms.