1# SPDX-License-Identifier: MIT 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 || X86_64 || SPARC64 || ARM64 9 select SND_HDA_COMPONENT if SND_HDA_CORE 10 select DRM_AMD_DC_DCN if (X86 || PPC64) && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS) 11 help 12 Choose this option if you want to use the new display engine 13 support for AMDGPU. This adds required support for Vega and 14 Raven ASICs. 15 16 calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64) 17 architectures built with Clang (all released versions), whereby the stack 18 frame gets blown up to well over 5k. This would cause an immediate kernel 19 panic on most architectures. We'll revert this when the following bug report 20 has been resolved: https://github.com/llvm/llvm-project/issues/41896. 21 22config DRM_AMD_DC_DCN 23 def_bool n 24 help 25 Raven, Navi and Renoir family support for display engine 26 27config DRM_AMD_DC_DCN3_0 28 bool "DCN 3.0 family" 29 depends on DRM_AMD_DC && X86 30 depends on DRM_AMD_DC_DCN 31 help 32 Choose this option if you want to have 33 sienna_cichlid support for display engine 34 35config DRM_AMD_DC_HDCP 36 bool "Enable HDCP support in DC" 37 depends on DRM_AMD_DC 38 help 39 Choose this option if you want to support HDCP authentication. 40 41config DRM_AMD_DC_SI 42 bool "AMD DC support for Southern Islands ASICs" 43 depends on DRM_AMDGPU_SI 44 depends on DRM_AMD_DC 45 default n 46 help 47 Choose this option to enable new AMD DC support for SI asics 48 by default. This includes Tahiti, Pitcairn, Cape Verde, Oland. 49 Hainan is not supported by AMD DC and it has no physical DCE6. 50 51config DEBUG_KERNEL_DC 52 bool "Enable kgdb break in DC" 53 depends on DRM_AMD_DC 54 depends on KGDB 55 help 56 Choose this option if you want to hit kdgb_break in assert. 57 58endmenu 59