From 8ab80f48c7402639a82d991b82baf7970983770f Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 24 Dec 2024 00:42:36 +0000 Subject: [PATCH] linux/common-config: Make backlight device support built-in --- pkgs/os-specific/linux/kernel/common-config.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 08b8456bf6e6..7e02ea2d540c 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -461,6 +461,9 @@ let DRM_LEGACY = whenOlder "6.8" no; + # Must be the same as CONFIG_DRM + BACKLIGHT_CLASS_DEVICE = yes; + NOUVEAU_LEGACY_CTX_SUPPORT = whenOlder "6.3" no; # Enable simpledrm and use it for generic framebuffer