xref: /linux-6.15/drivers/gpu/drm/display/Kconfig (revision 9da7ec9b)
1# SPDX-License-Identifier: MIT
2
3config DRM_DISPLAY_DP_AUX_BUS
4	tristate
5	depends on DRM
6	depends on OF || COMPILE_TEST
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	help
19	  DRM connector implementation terminating DRM bridge chains.
20
21config DRM_DISPLAY_DP_AUX_CEC
22	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
23	select DRM_DISPLAY_DP_HELPER
24	select CEC_CORE
25	help
26	  Choose this option if you want to enable HDMI CEC support for
27	  DisplayPort/USB-C to HDMI adapters.
28
29	  Note: not all adapters support this feature, and even for those
30	  that do support this they often do not hook up the CEC pin.
31
32config DRM_DISPLAY_DP_AUX_CHARDEV
33	bool "DRM DP AUX Interface"
34	select DRM_DISPLAY_DP_HELPER
35	help
36	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
37	  read and write values to arbitrary DPCD registers on the DP aux
38	  channel.
39
40config DRM_DISPLAY_DP_HELPER
41	bool
42	help
43	  DRM display helpers for DisplayPort.
44
45config DRM_DISPLAY_DP_TUNNEL
46	bool
47	select DRM_DISPLAY_DP_HELPER
48	help
49	  Enable support for DisplayPort tunnels. This allows drivers to use
50	  DP tunnel features like the Bandwidth Allocation mode to maximize the
51	  BW utilization for display streams on Thunderbolt links.
52
53config DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
54	bool "Enable debugging the DP tunnel state"
55	depends on REF_TRACKER
56	depends on DRM_DISPLAY_DP_TUNNEL
57	depends on DEBUG_KERNEL
58	depends on EXPERT
59	help
60	  Enables debugging the DP tunnel manager's state, including the
61	  consistency of all managed tunnels' reference counting and the state of
62	  streams contained in tunnels.
63
64	  If in doubt, say "N".
65
66config DRM_DISPLAY_HDCP_HELPER
67	bool
68	help
69	  DRM display helpers for HDCP.
70
71config DRM_DISPLAY_HDMI_HELPER
72	bool
73	help
74	  DRM display helpers for HDMI.
75
76config DRM_DISPLAY_HDMI_STATE_HELPER
77	bool
78	select DRM_DISPLAY_HDMI_HELPER
79	help
80	  DRM KMS state helpers for HDMI.
81
82endif # DRM_DISPLAY_HELPER
83