Merge pull request #109105 from wakira/amdgpu_dcn
linux: enable display core support for all amd gpus
This commit is contained in:
commit
e1580db42f
@ -256,6 +256,14 @@ let
|
|||||||
DRM_AMD_DC_DCN3_0 = whenAtLeast "5.9.12" yes;
|
DRM_AMD_DC_DCN3_0 = whenAtLeast "5.9.12" yes;
|
||||||
# Allow device firmware updates
|
# Allow device firmware updates
|
||||||
DRM_DP_AUX_CHARDEV = whenAtLeast "4.6" yes;
|
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") {
|
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux") {
|
||||||
# Intel GVT-g graphics virtualization supports 64-bit only
|
# Intel GVT-g graphics virtualization supports 64-bit only
|
||||||
DRM_I915_GVT = whenAtLeast "4.16" yes;
|
DRM_I915_GVT = whenAtLeast "4.16" yes;
|
||||||
|
Loading…
Reference in New Issue
Block a user