Linux Audio

Check our new training course

Loading...
v5.14.15
 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) && !(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	help
24	  Choose this option if you want to support HDCP authentication.
25
26config DRM_AMD_DC_SI
27	bool "AMD DC support for Southern Islands ASICs"
28	depends on DRM_AMDGPU_SI
29	depends on DRM_AMD_DC
30	default n
31	help
32	  Choose this option to enable new AMD DC support for SI asics
33	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
34	  Hainan is not supported by AMD DC and it has no physical DCE6.
35
36config DEBUG_KERNEL_DC
37	bool "Enable kgdb break in DC"
38	depends on DRM_AMD_DC
39	depends on KGDB
40	help
41	  Choose this option if you want to hit kdgb_break in assert.
42
43config DRM_AMD_SECURE_DISPLAY
44        bool "Enable secure display support"
45        default n
46        depends on DEBUG_FS
47        depends on DRM_AMD_DC_DCN
48        help
49            Choose this option if you want to
50            support secure display
51
52            This option enables the calculation
53            of crc of specific region via debugfs.
54            Cooperate with specific DMCU FW.
55
56
57endmenu
v6.2
 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	# !CC_IS_CLANG: https://github.com/ClangBuiltLinux/linux/issues/1752
11	select DRM_AMD_DC_DCN if (X86 || PPC_LONG_DOUBLE_128 || (ARM64 && KERNEL_MODE_NEON && !CC_IS_CLANG))
12	help
13	  Choose this option if you want to use the new display engine
14	  support for AMDGPU. This adds required support for Vega and
15	  Raven ASICs.
16
17	  calculate_bandwidth() is presently broken on all !(X86_64 || SPARC64 || ARM64)
18	  architectures built with Clang (all released versions), whereby the stack
19	  frame gets blown up to well over 5k.  This would cause an immediate kernel
20	  panic on most architectures.  We'll revert this when the following bug report
21	  has been resolved: https://github.com/llvm/llvm-project/issues/41896.
22
23config DRM_AMD_DC_DCN
24	def_bool n
25	help
26	  Raven, Navi, and newer family support for display engine
27
28config DRM_AMD_DC_HDCP
29	bool "Enable HDCP support in DC"
30	depends on DRM_AMD_DC
31	select DRM_DISPLAY_HDCP_HELPER
32	help
33	  Choose this option if you want to support HDCP authentication.
34
35config DRM_AMD_DC_SI
36	bool "AMD DC support for Southern Islands ASICs"
37	depends on DRM_AMDGPU_SI
38	depends on DRM_AMD_DC
 
39	help
40	  Choose this option to enable new AMD DC support for SI asics
41	  by default. This includes Tahiti, Pitcairn, Cape Verde, Oland.
42	  Hainan is not supported by AMD DC and it has no physical DCE6.
43
44config DEBUG_KERNEL_DC
45	bool "Enable kgdb break in DC"
46	depends on DRM_AMD_DC
47	depends on KGDB
48	help
49	  Choose this option if you want to hit kdgb_break in assert.
50
51config DRM_AMD_SECURE_DISPLAY
52        bool "Enable secure display support"
 
53        depends on DEBUG_FS
54        depends on DRM_AMD_DC_DCN
55        help
56            Choose this option if you want to
57            support secure display
58
59            This option enables the calculation
60            of crc of specific region via debugfs.
61            Cooperate with specific DMCU FW.
62
63
64endmenu