From 04d11637cba98eb1656b0cb9f710ed1ed3d89223 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sun, 15 Jan 2017 16:29:50 -0600 Subject: [PATCH] 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. --- pkgs/os-specific/linux/kernel/common-config.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index bd99a7979ee..8727381bb1e 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -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