xref: /openbmc/linux/drivers/gpu/drm/amd/display/Kconfig (revision a2475e62)
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 || PPC64 || (ARM64 && KERNEL_MODE_NEON)) && !(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 Renoir family support for display engine
19
20config DRM_AMD_DC_GREEN_SARDINE
21	bool "Green Sardine support"
22	default y
23	depends on DRM_AMD_DC_DCN
24        help
25            Choose this option if you want to have
26            Green Sardine support for display engine
27
28config DRM_AMD_DC_DCN3_0
29        bool "DCN 3.0 family"
30        depends on DRM_AMD_DC && X86
31        depends on DRM_AMD_DC_DCN
32        help
33            Choose this option if you want to have
34            sienna_cichlid support for display engine
35
36config DRM_AMD_DC_DCN3_01
37	bool "DCN 3.01 family"
38	depends on DRM_AMD_DC && X86
39	depends on DRM_AMD_DC_DCN
40	depends on DRM_AMD_DC_DCN3_0
41	help
42	    Choose this option if you want to have
43	    Van Gogh support for display engine
44
45config DRM_AMD_DC_DCN3_02
46        bool "DCN 3.02 family"
47        depends on DRM_AMD_DC_DCN3_0
48        depends on DRM_AMD_DC_DCN3_01
49        help
50            Choose this option if you want to have
51            Dimgrey_cavefish support for display engine
52
53config DRM_AMD_DC_HDCP
54	bool "Enable HDCP support in DC"
55	depends on DRM_AMD_DC
56	help
57	  Choose this option if you want to support HDCP authentication.
58
59config DRM_AMD_DC_SI
60	bool "AMD DC support for Southern Islands ASICs"
61	default n
62	help
63	  Choose this option to enable new AMD DC support for SI asics
64	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
65	  Hainan is not supported by AMD DC and it has no physical DCE6.
66
67config DEBUG_KERNEL_DC
68	bool "Enable kgdb break in DC"
69	depends on DRM_AMD_DC
70	depends on KGDB
71	help
72	  Choose this option if you want to hit kdgb_break in assert.
73
74endmenu
75