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