From 6ebf1a17afe1ea5bc8ca73b90853a6450b557f64 Mon Sep 17 00:00:00 2001 From: Andrew Fontaine Date: Fri, 29 Jan 2021 09:37:18 -0500 Subject: [PATCH] common-config: Enable RX 6000 Series AMDGPU The kernel config parameter `DRM_AMD_DC_DCN3_0` is required to enable the RX 6000 series GPUs, and is supported on kernels at least `5.9.12`. Source: https://wiki.gentoo.org/wiki/AMDGPU#Installation --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index b8bb91b3b72..bb429e0c999 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -250,6 +250,8 @@ let DRM_AMDGPU_SI = whenAtLeast "4.9" yes; # (stable) amdgpu support for bonaire and newer chipsets DRM_AMDGPU_CIK = whenAtLeast "4.9" yes; + # amdgpu support for RX6000 series + DRM_AMD_DC_DCN3_0 = whenAtLeast "5.9.12" yes; # Allow device firmware updates DRM_DP_AUX_CHARDEV = whenAtLeast "4.6" yes; } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") {