linux_4_9: enable support for amdgpu on older chipsets

Linux 4.9 includes experimental amdgpu support for AMD Southern Islands
chipsets. (By default, only Sea Islands and newer chipsets are supported.)
Southern Islands chips will still use radeon by default, but daring users may
set `services.xserver.videoDrivers = [ "amdgpu" ];` to try the experimental
driver.
This commit is contained in:
Thomas Tuegel 2017-01-15 16:29:50 -06:00
parent 4c803b904e
commit 04d11637cb
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
1 changed files with 4 additions and 0 deletions

View File

@ -186,6 +186,10 @@ with stdenv.lib;
${optionalString (versionAtLeast version "4.5" && (versionOlder version "4.9")) ''
DRM_AMD_POWERPLAY y # necessary for amdgpu polaris support
''}
${optionalString (versionAtLeast version "4.9") ''
DRM_AMDGPU_SI y # (experimental) amdgpu support for verde and newer chipsets
DRM_AMDGPU_CIK y # (stable) amdgpu support for bonaire and newer chipsets
''}
# Sound.
SND_DYNAMIC_MINORS y