Merge pull request #18005 from gebner/kernel-amd-powerplay
kernel: config: enable DRM_AMD_POWERPLAY
commit131cd8f45d3946545223c6c892e862913352ab22
authorGabriel Ebner <gebner@gebner.org>
dateFri 26 Aug 2016, 19:04 (10 years ago)
parentc30792e7b01df1
pkgs/os-specific/linux/kernel/common-config.nix+3
@@ -181,6 +181,9 @@ with stdenv.lib;
181181 VGA_SWITCHEROO y # Hybrid graphics support
182182 DRM_GMA600 y
183183 DRM_GMA3600 y
184+ ${optionalString (versionAtLeast version "4.5") ''
185+ DRM_AMD_POWERPLAY y # necessary for amdgpu polaris support
186+ ''}
184187
185188 # Sound.
186189 SND_DYNAMIC_MINORS y