xref: /linux-6.15/drivers/gpu/drm/display/Kconfig (revision 7fe302ae)
1# SPDX-License-Identifier: MIT
2
3config DRM_DISPLAY_HELPER
4	tristate "DRM Display Helpers"
5	depends on DRM
6	default y
7	help
8	  DRM helpers for display adapters.
9
10config DRM_DISPLAY_DP_AUX_BUS
11	tristate "DRM DisplayPort AUX bus support"
12	depends on DRM
13	depends on OF || COMPILE_TEST
14	default y
15
16config DRM_DISPLAY_DP_AUX_CEC
17	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
18	depends on DRM
19	depends on DRM_DISPLAY_HELPER
20	depends on DRM_DISPLAY_DP_HELPER
21	select CEC_CORE
22	help
23	  Choose this option if you want to enable HDMI CEC support for
24	  DisplayPort/USB-C to HDMI adapters.
25
26	  Note: not all adapters support this feature, and even for those
27	  that do support this they often do not hook up the CEC pin.
28
29config DRM_DISPLAY_DP_AUX_CHARDEV
30	bool "DRM DisplayPort AUX Interface"
31	depends on DRM
32	depends on DRM_DISPLAY_HELPER
33	depends on DRM_DISPLAY_DP_HELPER
34	help
35	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
36	  read and write values to arbitrary DPCD registers on the DP aux
37	  channel.
38
39config DRM_DISPLAY_DP_HELPER
40	bool "DRM DisplayPort Helpers"
41	depends on DRM_DISPLAY_HELPER
42	help
43	  DRM display helpers for DisplayPort.
44
45config DRM_DISPLAY_DP_TUNNEL
46	bool "DRM DisplayPort tunnels support"
47	depends on 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 "DRM HDCD Helpers"
68	depends on DRM_DISPLAY_HELPER
69	help
70	  DRM display helpers for HDCP.
71
72config DRM_DISPLAY_HDMI_HELPER
73	bool "DRM HDMI Helpers"
74	depends on DRM_DISPLAY_HELPER
75	help
76	  DRM display helpers for HDMI.
77