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