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