Kconfig (3c69140734a27f8b145f12fa0ae80c1fe36a02ca) Kconfig (f5d75327d30af49acf2e4b55f35ce2e6c45d1287)
1# SPDX-License-Identifier: MIT
1# SPDX-License-Identifier: MIT
2# Copyright © 2019-2024 Advanced Micro Devices, Inc. All rights reserved.
3
2menu "Display Engine Configuration"
3 depends on DRM && DRM_AMDGPU
4
5config DRM_AMD_DC
6 bool "AMD DC - Enable new display engine"
7 default y
8 depends on BROKEN || !CC_IS_CLANG || ARM64 || RISCV || SPARC64 || X86_64
9 select SND_HDA_COMPONENT if SND_HDA_CORE
10 # !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
4menu "Display Engine Configuration"
5 depends on DRM && DRM_AMDGPU
6
7config DRM_AMD_DC
8 bool "AMD DC - Enable new display engine"
9 default y
10 depends on BROKEN || !CC_IS_CLANG || ARM64 || RISCV || SPARC64 || X86_64
11 select SND_HDA_COMPONENT if SND_HDA_CORE
12 # !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
11 select DRM_AMD_DC_FP if ARCH_HAS_KERNEL_FPU_SUPPORT && (!ARM64 || !CC_IS_CLANG)
13 select DRM_AMD_DC_FP if (X86 || LOONGARCH || (PPC64 && ALTIVEC) || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
12 help
13 Choose this option if you want to use the new display engine
14 support for AMDGPU. This adds required support for Vega and
15 Raven ASICs.
16
17 calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64)
18 architectures built with Clang (all released versions), whereby the stack
19 frame gets blown up to well over 5k. This would cause an immediate kernel

--- 35 unchanged lines hidden ---
14 help
15 Choose this option if you want to use the new display engine
16 support for AMDGPU. This adds required support for Vega and
17 Raven ASICs.
18
19 calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64)
20 architectures built with Clang (all released versions), whereby the stack
21 frame gets blown up to well over 5k. This would cause an immediate kernel

--- 35 unchanged lines hidden ---