forked from mirrors/nixpkgs
common-config: fixup compilation for linux 5.11
DRM_AMD_DC_DCN3_0 has been renamed DRM_AMD_DC_DCN in linux 5.11
see:
20f2ffe504
https://github.com/NixOS/nixpkgs/pull/113194#issuecomment-781766471
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
This commit is contained in:
parent
9d7ee4f2e3
commit
2b28822d8d
|
@ -251,7 +251,8 @@ let
|
|||
# (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;
|
||||
DRM_AMD_DC_DCN3_0 = whenBetween "5.9.12" "5.11" yes;
|
||||
DRM_AMD_DC_DCN = whenAtLeast "5.11" yes;
|
||||
# Allow device firmware updates
|
||||
DRM_DP_AUX_CHARDEV = whenAtLeast "4.6" yes;
|
||||
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") {
|
||||
|
|
Loading…
Reference in a new issue