kernel: config: enable DRM_AMD_POWERPLAY
commit7b01df18a2a160c28c6f234c9d20a8cdeee02e64
authorGabriel Ebner <gebner@gebner.org>
dateFri 26 Aug 2016, 07:32 (10 years ago)
parent8512747
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