]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/vgem: move Kconfig under driver directory
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2025 10:25:36 +0000 (12:25 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 10 Dec 2025 09:02:53 +0000 (11:02 +0200)
Almost all DRM driver Kconfig options are in dedicated Kconfig files
under driver directories. Follow suit in vgem.

Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/51935bfb299e8c64beae5a654d908231e2ec9c7f.1762251845.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/vgem/Kconfig [new file with mode: 0644]

index 15c2f941a4cd94d7e8474fc6a170e4bec0c11d37..8ec9c06b45b748104d577045fd705d805c705460 100644 (file)
@@ -283,14 +283,7 @@ source "drivers/gpu/drm/xe/Kconfig"
 
 source "drivers/gpu/drm/kmb/Kconfig"
 
-config DRM_VGEM
-       tristate "Virtual GEM provider"
-       depends on DRM && MMU
-       select DRM_GEM_SHMEM_HELPER
-       help
-         Choose this option to get a virtual graphics memory manager,
-         as used by Mesa's software renderer for enhanced performance.
-         If M is selected the module will be called vgem.
+source "drivers/gpu/drm/vgem/Kconfig"
 
 source "drivers/gpu/drm/vkms/Kconfig"
 
diff --git a/drivers/gpu/drm/vgem/Kconfig b/drivers/gpu/drm/vgem/Kconfig
new file mode 100644 (file)
index 0000000..c419cda
--- /dev/null
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config DRM_VGEM
+       tristate "Virtual GEM provider"
+       depends on DRM && MMU
+       select DRM_GEM_SHMEM_HELPER
+       help
+         Choose this option to get a virtual graphics memory manager,
+         as used by Mesa's software renderer for enhanced performance.
+         If M is selected the module will be called vgem.