Almost all DRM driver Kconfig options are in dedicated Kconfig files
under driver directories. Follow suit in vgem.

Signed-off-by: Jani Nikula <[email protected]>
---
 drivers/gpu/drm/Kconfig      | 9 +--------
 drivers/gpu/drm/vgem/Kconfig | 9 +++++++++
 2 files changed, 10 insertions(+), 8 deletions(-)
 create mode 100644 drivers/gpu/drm/vgem/Kconfig

diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 15c2f941a4cd..8ec9c06b45b7 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -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
index 000000000000..c419cdadd54c
--- /dev/null
+++ b/drivers/gpu/drm/vgem/Kconfig
@@ -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.
-- 
2.47.3

Reply via email to