]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/hyperv: move Kconfig under driver directory
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2025 10:25:35 +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 hyperv.

Cc: Deepak Rawat <drawat.floss@gmail.com>
Reviewed-by: Deepak Rawat <drawat.floss@gmail.com>
Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/4923196ab968bfdbcc2d7572d9be9886c32c06c9.1762251845.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/hyperv/Kconfig [new file with mode: 0644]

index 7e6bc0b3a589ce8a5ffc9894f02e076a4bfbd5c2..15c2f941a4cd94d7e8474fc6a170e4bec0c11d37 100644 (file)
@@ -398,19 +398,7 @@ source "drivers/gpu/drm/imagination/Kconfig"
 
 source "drivers/gpu/drm/tyr/Kconfig"
 
-config DRM_HYPERV
-       tristate "DRM Support for Hyper-V synthetic video device"
-       depends on DRM && PCI && HYPERV_VMBUS
-       select DRM_CLIENT_SELECTION
-       select DRM_KMS_HELPER
-       select DRM_GEM_SHMEM_HELPER
-       help
-        This is a KMS driver for Hyper-V synthetic video device. Choose this
-        option if you would like to enable drm driver for Hyper-V virtual
-        machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
-        that DRM driver is used by default.
-
-        If M is selected the module will be called hyperv_drm.
+source "drivers/gpu/drm/hyperv/Kconfig"
 
 # Separate option as not all DRM drivers use it
 config DRM_PANEL_BACKLIGHT_QUIRKS
diff --git a/drivers/gpu/drm/hyperv/Kconfig b/drivers/gpu/drm/hyperv/Kconfig
new file mode 100644 (file)
index 0000000..86234f6
--- /dev/null
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config DRM_HYPERV
+       tristate "DRM Support for Hyper-V synthetic video device"
+       depends on DRM && PCI && HYPERV_VMBUS
+       select DRM_CLIENT_SELECTION
+       select DRM_KMS_HELPER
+       select DRM_GEM_SHMEM_HELPER
+       help
+        This is a KMS driver for Hyper-V synthetic video device. Choose this
+        option if you would like to enable drm driver for Hyper-V virtual
+        machine. Unselect Hyper-V framebuffer driver (CONFIG_FB_HYPERV) so
+        that DRM driver is used by default.
+
+        If M is selected the module will be called hyperv_drm.