xref: /linux/drivers/gpu/drm/amd/display/Kconfig (revision 6a99099fe1d6c46cbcd74298eeb386c4b9048f77)
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
988d5cb25SAlex Deucher	select DRM_AMD_DC_DCN if (X86 || PPC64) && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS)
104562236bSHarry Wentland	help
114562236bSHarry Wentland	  Choose this option if you want to use the new display engine
124562236bSHarry Wentland	  support for AMDGPU. This adds required support for Vega and
134562236bSHarry Wentland	  Raven ASICs.
144562236bSHarry Wentland
15b86a1aa3SBhawanpreet Lakhaconfig DRM_AMD_DC_DCN
169d1d02ffSLeo (Sunpeng) Li	def_bool n
17dc37a9a0SLeo (Sunpeng) Li	help
1820f2ffe5SAlex Deucher	  Raven, Navi, and newer family support for display engine
1936d26912SBhawanpreet Lakha
20ea268870SBhawanpreet Lakhaconfig DRM_AMD_DC_HDCP
21ea268870SBhawanpreet Lakha	bool "Enable HDCP support in DC"
22ea268870SBhawanpreet Lakha	depends on DRM_AMD_DC
23*6a99099fSThomas Zimmermann	select DRM_DISPLAY_HDCP_HELPER
24ea268870SBhawanpreet Lakha	help
2517fd4fe9SRandy Dunlap	  Choose this option if you want to support HDCP authentication.
26ea268870SBhawanpreet Lakha
275963cddeSMauro Rossiconfig DRM_AMD_DC_SI
285963cddeSMauro Rossi	bool "AMD DC support for Southern Islands ASICs"
29c2c15410SAlex Deucher	depends on DRM_AMDGPU_SI
30c2c15410SAlex Deucher	depends on DRM_AMD_DC
315963cddeSMauro Rossi	default n
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        default n
4786bc2219SWayne Lin        depends on DEBUG_FS
4886bc2219SWayne Lin        depends on DRM_AMD_DC_DCN
4986bc2219SWayne Lin        help
5086bc2219SWayne Lin            Choose this option if you want to
5186bc2219SWayne Lin            support secure display
5286bc2219SWayne Lin
5386bc2219SWayne Lin            This option enables the calculation
5486bc2219SWayne Lin            of crc of specific region via debugfs.
5586bc2219SWayne Lin            Cooperate with specific DMCU FW.
5686bc2219SWayne Lin
5786bc2219SWayne Lin
584562236bSHarry Wentlandendmenu
59