summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-06-10 12:20:50 +0300
committerGitHub <noreply@github.com>2022-06-10 11:20:50 +0200
commitd9b980c98e218658d365482265fe4ac8fcacf130 (patch)
treed8638e03667cec99a736d4bb4655533a37203bac /pkgs/os-specific/linux/kernel/common-config.nix
parentec82f36ab6b9a3b38ff72f5a91b6c71eda871f27 (diff)
downloadnixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar.gz
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar.bz2
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar.lz
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar.xz
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.tar.zst
nixpkgs-d9b980c98e218658d365482265fe4ac8fcacf130.zip
linux: enable vc4 HDMI-CEC by default (#176762)
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index 20532d75e76..d8084bbfccc 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -289,6 +289,9 @@ let
       # Intel GVT-g graphics virtualization supports 64-bit only
       DRM_I915_GVT = whenAtLeast "4.16" yes;
       DRM_I915_GVT_KVMGT = whenAtLeast "4.16" module;
+    } // optionalAttrs (stdenv.hostPlatform.system == "aarch64-linux") {
+      # enable HDMI-CEC on RPi boards
+      DRM_VC4_HDMI_CEC = whenAtLeast "4.14" yes;
     };
 
     sound = {