xref: /linux/drivers/gpu/drm/amd/display/Kconfig (revision 79b72db63392d35a4dbcd4743b95cb668691f790)
1ad808910SAlex Deucher# SPDX-License-Identifier: MIT
24562236bSHarry Wentlandmenu "Display Engine Configuration"
34562236bSHarry Wentland	depends on DRM && DRM_AMDGPU
44562236bSHarry Wentland
54562236bSHarry Wentlandconfig DRM_AMD_DC
64562236bSHarry Wentland	bool "AMD DC - Enable new display engine"
74562236bSHarry Wentland	default y
86ce8f316SNicholas Kazlauskas	select SND_HDA_COMPONENT if SND_HDA_CORE
9*79b72db6SAo Zhong	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
10*79b72db6SAo Zhong	select DRM_AMD_DC_DCN if (X86 || PPC_LONG_DOUBLE_128 || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
114562236bSHarry Wentland	help
124562236bSHarry Wentland	  Choose this option if you want to use the new display engine
134562236bSHarry Wentland	  support for AMDGPU. This adds required support for Vega and
144562236bSHarry Wentland	  Raven ASICs.
154562236bSHarry Wentland
16b86a1aa3SBhawanpreet Lakhaconfig DRM_AMD_DC_DCN
179d1d02ffSLeo (Sunpeng) Li	def_bool n
18dc37a9a0SLeo (Sunpeng) Li	help
1920f2ffe5SAlex Deucher	  Raven, Navi, and newer family support for display engine
2036d26912SBhawanpreet Lakha
21ea268870SBhawanpreet Lakhaconfig DRM_AMD_DC_HDCP
22ea268870SBhawanpreet Lakha	bool "Enable HDCP support in DC"
23ea268870SBhawanpreet Lakha	depends on DRM_AMD_DC
246a99099fSThomas Zimmermann	select DRM_DISPLAY_HDCP_HELPER
25ea268870SBhawanpreet Lakha	help
2617fd4fe9SRandy Dunlap	  Choose this option if you want to support HDCP authentication.
27ea268870SBhawanpreet Lakha
285963cddeSMauro Rossiconfig DRM_AMD_DC_SI
295963cddeSMauro Rossi	bool "AMD DC support for Southern Islands ASICs"
30c2c15410SAlex Deucher	depends on DRM_AMDGPU_SI
31c2c15410SAlex Deucher	depends on DRM_AMD_DC
325963cddeSMauro Rossi	help
335963cddeSMauro Rossi	  Choose this option to enable new AMD DC support for SI asics
345963cddeSMauro Rossi	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
355963cddeSMauro Rossi	  Hainan is not supported by AMD DC and it has no physical DCE6.
365963cddeSMauro Rossi
374562236bSHarry Wentlandconfig DEBUG_KERNEL_DC
384562236bSHarry Wentland	bool "Enable kgdb break in DC"
394562236bSHarry Wentland	depends on DRM_AMD_DC
40c5ff0c19STakashi Iwai	depends on KGDB
414562236bSHarry Wentland	help
4217fd4fe9SRandy Dunlap	  Choose this option if you want to hit kdgb_break in assert.
434562236bSHarry Wentland
4486bc2219SWayne Linconfig DRM_AMD_SECURE_DISPLAY
4586bc2219SWayne Lin        bool "Enable secure display support"
4686bc2219SWayne Lin        depends on DEBUG_FS
4786bc2219SWayne Lin        depends on DRM_AMD_DC_DCN
4886bc2219SWayne Lin        help
4986bc2219SWayne Lin            Choose this option if you want to
5086bc2219SWayne Lin            support secure display
5186bc2219SWayne Lin
5286bc2219SWayne Lin            This option enables the calculation
5386bc2219SWayne Lin            of crc of specific region via debugfs.
5486bc2219SWayne Lin            Cooperate with specific DMCU FW.
5586bc2219SWayne Lin
5686bc2219SWayne Lin
574562236bSHarry Wentlandendmenu
58