]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/Kconfig: move generic Kconfig options above drivers
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2025 10:25:37 +0000 (12:25 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 10 Dec 2025 09:02:53 +0000 (11:02 +0200)
Keep non-driver options together, above drivers.

DRM_PANEL_ORIENTATION_QUIRKS remains alone at the end because it's
outside of the whole "if DRM" block.

Reviewed-by: Maarten Lankhorst <dev@lankhorst.se>
Link: https://patch.msgid.link/a0f9e1a31a2190f535f2c2f94af6e22030db199f.1762251845.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/Kconfig

index 8ec9c06b45b748104d577045fd705d805c705460..5a9b5f7a40e26486c96bfeef5ea87387999d8fd0 100644 (file)
@@ -265,6 +265,18 @@ config DRM_SCHED
        tristate
        depends on DRM
 
+# Separate option as not all DRM drivers use it
+config DRM_PANEL_BACKLIGHT_QUIRKS
+       tristate
+
+config DRM_LIB_RANDOM
+       bool
+       default n
+
+config DRM_PRIVACY_SCREEN
+       bool
+       default n
+
 source "drivers/gpu/drm/sysfb/Kconfig"
 
 source "drivers/gpu/drm/arm/Kconfig"
@@ -393,18 +405,6 @@ source "drivers/gpu/drm/tyr/Kconfig"
 
 source "drivers/gpu/drm/hyperv/Kconfig"
 
-# Separate option as not all DRM drivers use it
-config DRM_PANEL_BACKLIGHT_QUIRKS
-       tristate
-
-config DRM_LIB_RANDOM
-       bool
-       default n
-
-config DRM_PRIVACY_SCREEN
-       bool
-       default n
-
 endif
 
 # Separate option because drm_panel_orientation_quirks.c is shared with fbdev