Merge pull request #109105 from wakira/amdgpu_dcn

linux: enable display core support for all amd gpus
This commit is contained in:
Linus Heckemann 2021-02-15 12:35:49 +01:00 committed by GitHub
commit e1580db42f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,6 +256,14 @@ let
DRM_AMD_DC_DCN3_0 = whenAtLeast "5.9.12" yes;
# Allow device firmware updates
DRM_DP_AUX_CHARDEV = whenAtLeast "4.6" yes;
# amdgpu display core (DC) support
DRM_AMD_DC_DCN1_0 = whenBetween "4.15" "5.6" yes;
DRM_AMD_DC_PRE_VEGA = whenBetween "4.15" "4.18" yes;
DRM_AMD_DC_DCN2_0 = whenBetween "5.3" "5.6" yes;
DRM_AMD_DC_DCN2_1 = whenBetween "5.4" "5.6" yes;
DRM_AMD_DC_DCN3_0 = whenBetween "5.9" "5.11" yes;
DRM_AMD_DC_HDCP = whenAtLeast "5.5" yes;
DRM_AMD_DC_SI = whenAtLeast "5.10" yes;
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") {
# Intel GVT-g graphics virtualization supports 64-bit only
DRM_I915_GVT = whenAtLeast "4.16" yes;