From 2e94b9853c4d76dd8a2524ee79d72a0adce1a965 Mon Sep 17 00:00:00 2001 From: Matthew Harm Bekkema Date: Mon, 9 Sep 2019 00:22:27 +1000 Subject: [PATCH] kernel: Enable X86_AMD_PLATFORM_DEVICE This is needed to get the toupad working on my Acer Nitro laptop. --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 42230fe31ecd..f2cb14fa1824 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -698,6 +698,8 @@ let PREEMPT = no; PREEMPT_VOLUNTARY = yes; + + X86_AMD_PLATFORM_DEVICE = yes; } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") { # Enable CPU/memory hotplug support