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
This commit is contained in:
Andrew Fontaine
2021-01-29 09:37:18 -05:00
parent 54f8b31971
commit 6ebf1a17af

View File

@@ -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") {