brintos

brintos / linux-shallow public Read only

0
0
Text · 1.9 KiB · df17e79 Raw
57 lines · plain
1# SPDX-License-Identifier: MIT2# Copyright © 2019-2024 Advanced Micro Devices, Inc. All rights reserved.3 4menu "Display Engine Configuration"5	depends on DRM && DRM_AMDGPU6 7config DRM_AMD_DC8	bool "AMD DC - Enable new display engine"9	default y10	depends on BROKEN || !CC_IS_CLANG || ARM64 || RISCV || SPARC64 || X86_6411	select SND_HDA_COMPONENT if SND_HDA_CORE12	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/175213	select DRM_AMD_DC_FP if ARCH_HAS_KERNEL_FPU_SUPPORT && !(CC_IS_CLANG && (ARM64 || RISCV))14	help15	  Choose this option if you want to use the new display engine16	  support for AMDGPU. This adds required support for Vega and17	  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 stack21	  frame gets blown up to well over 5k.  This would cause an immediate kernel22	  panic on most architectures.  We'll revert this when the following bug report23	  has been resolved: https://github.com/llvm/llvm-project/issues/41896.24 25config DRM_AMD_DC_FP26	def_bool n27	help28	  Floating point support, required for DCN-based SoCs29 30config DRM_AMD_DC_SI31	bool "AMD DC support for Southern Islands ASICs"32	depends on DRM_AMDGPU_SI33	depends on DRM_AMD_DC34	help35	  Choose this option to enable new AMD DC support for SI asics36	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.37	  Hainan is not supported by AMD DC and it has no physical DCE6.38 39config DEBUG_KERNEL_DC40	bool "Enable kgdb break in DC"41	depends on DRM_AMD_DC42	depends on KGDB43	help44	  Choose this option if you want to hit kdgb_break in assert.45 46config DRM_AMD_SECURE_DISPLAY47	bool "Enable secure display support"48	depends on DEBUG_FS49	depends on DRM_AMD_DC_FP50	help51	  Choose this option if you want to support secure display52 53	  This option enables the calculation of crc of specific region via54	  debugfs. Cooperate with specific DMCU FW.55 56endmenu57