From 4cabf00fcd09fd1dfbb3f345abe3ed2330157f22 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 4 Nov 2025 12:25:37 +0200 Subject: [PATCH] drm/Kconfig: move generic Kconfig options above drivers 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 Link: https://patch.msgid.link/a0f9e1a31a2190f535f2c2f94af6e22030db199f.1762251845.git.jani.nikula@intel.com Signed-off-by: Jani Nikula --- drivers/gpu/drm/Kconfig | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 8ec9c06b45b7..5a9b5f7a40e2 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -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 -- 2.47.3