xref: /linux/drivers/gpu/drm/display/Kconfig (revision 260f6f4fda93c8485c8037865c941b42b9cba5d2)
1# SPDX-License-Identifier: MIT
2
3config DRM_DISPLAY_DP_AUX_BUS
4	tristate
5	depends on DRM
6	depends on OF
7
8config DRM_DISPLAY_HELPER
9	tristate
10	depends on DRM
11	select CEC_CORE if DRM_DISPLAY_DP_AUX_CEC || DRM_DISPLAY_HDMI_CEC_HELPER || CEC_NOTIFIER
12	help
13	  DRM helpers for display adapters.
14
15if DRM_DISPLAY_HELPER
16
17config DRM_BRIDGE_CONNECTOR
18	bool
19	select DRM_DISPLAY_HDMI_AUDIO_HELPER
20	select DRM_DISPLAY_HDMI_CEC_HELPER
21	select DRM_DISPLAY_HDMI_STATE_HELPER
22	help
23	  DRM connector implementation terminating DRM bridge chains.
24
25config DRM_DISPLAY_DP_AUX_CEC
26	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
27	select DRM_DISPLAY_DP_HELPER
28	help
29	  Choose this option if you want to enable HDMI CEC support for
30	  DisplayPort/USB-C to HDMI adapters.
31
32	  Note: not all adapters support this feature, and even for those
33	  that do support this they often do not hook up the CEC pin.
34
35config DRM_DISPLAY_DP_AUX_CHARDEV
36	bool "DRM DP AUX Interface"
37	select DRM_DISPLAY_DP_HELPER
38	help
39	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
40	  read and write values to arbitrary DPCD registers on the DP aux
41	  channel.
42
43config DRM_DISPLAY_DP_HELPER
44	bool
45	help
46	  DRM display helpers for DisplayPort.
47
48config DRM_DISPLAY_DP_TUNNEL
49	bool
50	select DRM_DISPLAY_DP_HELPER
51	help
52	  Enable support for DisplayPort tunnels. This allows drivers to use
53	  DP tunnel features like the Bandwidth Allocation mode to maximize the
54	  BW utilization for display streams on Thunderbolt links.
55
56config DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
57	bool "Enable debugging the DP tunnel state"
58	depends on REF_TRACKER
59	depends on DRM_DISPLAY_DP_TUNNEL
60	depends on DEBUG_KERNEL
61	depends on EXPERT
62	help
63	  Enables debugging the DP tunnel manager's state, including the
64	  consistency of all managed tunnels' reference counting and the state of
65	  streams contained in tunnels.
66
67	  If in doubt, say "N".
68
69config DRM_DISPLAY_DSC_HELPER
70	bool
71	depends on DRM_DISPLAY_HELPER
72	help
73	  DRM display helpers for VESA DSC (used by DSI and DisplayPort).
74
75config DRM_DISPLAY_HDCP_HELPER
76	bool
77	help
78	  DRM display helpers for HDCP.
79
80config DRM_DISPLAY_HDMI_AUDIO_HELPER
81	bool
82	help
83	  DRM display helpers for HDMI Audio functionality (generic HDMI Codec
84	  implementation).
85
86config DRM_DISPLAY_HDMI_CEC_HELPER
87	bool
88	help
89	  DRM display helpers for HDMI CEC implementation.
90
91config DRM_DISPLAY_HDMI_CEC_NOTIFIER_HELPER
92	def_bool CEC_NOTIFIER
93	help
94	  DRM display helpers for HDMI CEC notifiers implementation.
95
96config DRM_DISPLAY_HDMI_HELPER
97	bool
98	help
99	  DRM display helpers for HDMI.
100
101config DRM_DISPLAY_HDMI_STATE_HELPER
102	bool
103	select DRM_DISPLAY_HDMI_AUDIO_HELPER
104	select DRM_DISPLAY_HDMI_HELPER
105	help
106	  DRM KMS state helpers for HDMI.
107
108endif # DRM_DISPLAY_HELPER
109