diff options
author | Gabriel Ebner <gebner@gebner.org> | 2016-08-26 19:04:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-26 19:04:54 +0200 |
commit | 131cd8f45d3946545223c6c892e862913352ab22 (patch) | |
tree | 6bf33dfee69e58ba68352bdef9f3704c4fd3c790 /pkgs/os-specific | |
parent | c30792ed43ceb9f82448bfdfbbfa65c8b5910388 (diff) | |
parent | 7b01df18a2a160c28c6f234c9d20a8cdeee02e64 (diff) | |
download | nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar.gz nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar.bz2 nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar.lz nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar.xz nixlib-131cd8f45d3946545223c6c892e862913352ab22.tar.zst nixlib-131cd8f45d3946545223c6c892e862913352ab22.zip |
Merge pull request #18005 from gebner/kernel-amd-powerplay
kernel: config: enable DRM_AMD_POWERPLAY
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 3 |
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 509fb281195d..7cec276a4faf 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -181,6 +181,9 @@ with stdenv.lib; VGA_SWITCHEROO y # Hybrid graphics support DRM_GMA600 y DRM_GMA3600 y + ${optionalString (versionAtLeast version "4.5") '' + DRM_AMD_POWERPLAY y # necessary for amdgpu polaris support + ''} # Sound. SND_DYNAMIC_MINORS y |