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	select SND_HDA_COMPONENT if SND_HDA_CORE
9	select DRM_AMD_DC_DCN if (X86 || PPC_LONG_DOUBLE_128) && !(KCOV_INSTRUMENT_ALL && KCOV_ENABLE_COMPARISONS)
10	help
11	  Choose this option if you want to use the new display engine
12	  support for AMDGPU. This adds required support for Vega and
13	  Raven ASICs.
14
15config DRM_AMD_DC_DCN
16	def_bool n
17	help
18	  Raven, Navi, and newer family support for display engine
19
20config DRM_AMD_DC_HDCP
21	bool "Enable HDCP support in DC"
22	depends on DRM_AMD_DC
23	select DRM_DISPLAY_HDCP_HELPER
24	help
25	  Choose this option if you want to support HDCP authentication.
26
27config DRM_AMD_DC_SI
28	bool "AMD DC support for Southern Islands ASICs"
29	depends on DRM_AMDGPU_SI
30	depends on DRM_AMD_DC
31	default n
32	help
33	  Choose this option to enable new AMD DC support for SI asics
34	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
35	  Hainan is not supported by AMD DC and it has no physical DCE6.
36
37config DEBUG_KERNEL_DC
38	bool "Enable kgdb break in DC"
39	depends on DRM_AMD_DC
40	depends on KGDB
41	help
42	  Choose this option if you want to hit kdgb_break in assert.
43
44config DRM_AMD_SECURE_DISPLAY
45        bool "Enable secure display support"
46        default n
47        depends on DEBUG_FS
48        depends on DRM_AMD_DC_DCN
49        help
50            Choose this option if you want to
51            support secure display
52
53            This option enables the calculation
54            of crc of specific region via debugfs.
55            Cooperate with specific DMCU FW.
56
57
58endmenu
59