xref: /linux-6.15/drivers/gpu/drm/display/Kconfig (revision 3166e7e6)
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	default y
43	help
44	  DRM display helpers for DisplayPort.
45
46config DRM_DISPLAY_DP_TUNNEL
47	bool "DRM DisplayPort tunnels support"
48	depends on DRM_DISPLAY_DP_HELPER
49	help
50	  Enable support for DisplayPort tunnels. This allows drivers to use
51	  DP tunnel features like the Bandwidth Allocation mode to maximize the
52	  BW utilization for display streams on Thunderbolt links.
53
54config DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
55	bool "Enable debugging the DP tunnel state"
56	depends on REF_TRACKER
57	depends on DRM_DISPLAY_DP_TUNNEL
58	depends on DEBUG_KERNEL
59	depends on EXPERT
60	help
61	  Enables debugging the DP tunnel manager's state, including the
62	  consistency of all managed tunnels' reference counting and the state of
63	  streams contained in tunnels.
64
65	  If in doubt, say "N".
66
67config DRM_DISPLAY_HDCP_HELPER
68	bool "DRM HDCD Helpers"
69	depends on DRM_DISPLAY_HELPER
70	default y
71	help
72	  DRM display helpers for HDCP.
73
74config DRM_DISPLAY_HDMI_HELPER
75	bool "DRM HDMI Helpers"
76	depends on DRM_DISPLAY_HELPER
77	help
78	  DRM display helpers for HDMI.
79