xref: /linux/drivers/gpu/drm/display/Kconfig (revision 05b8b6dd225d541b16145a0578ed93d91e43f0c1)
1# SPDX-License-Identifier: MIT
2
3config DRM_DISPLAY_HELPER
4	tristate "DRM Display Helpers"
5	depends on DRM
6	help
7	  DRM helpers for display adapters.
8
9config DRM_DISPLAY_DP_AUX_BUS
10	tristate "DRM DisplayPort AUX bus support"
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
17	depends on DRM_DISPLAY_HELPER
18	depends on 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 DisplayPort AUX Interface"
29	depends on DRM
30	depends on DRM_DISPLAY_HELPER
31	depends on DRM_DISPLAY_DP_HELPER
32	help
33	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
34	  read and write values to arbitrary DPCD registers on the DP aux
35	  channel.
36
37config DRM_DISPLAY_DP_HELPER
38	bool "DRM DisplayPort Helpers"
39	depends on DRM_DISPLAY_HELPER
40	help
41	  DRM display helpers for DisplayPort.
42
43config DRM_DISPLAY_DP_TUNNEL
44	bool "DRM DisplayPort tunnels support"
45	depends on DRM_DISPLAY_DP_HELPER
46	help
47	  Enable support for DisplayPort tunnels. This allows drivers to use
48	  DP tunnel features like the Bandwidth Allocation mode to maximize the
49	  BW utilization for display streams on Thunderbolt links.
50
51config DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
52	bool "Enable debugging the DP tunnel state"
53	depends on REF_TRACKER
54	depends on DRM_DISPLAY_DP_TUNNEL
55	depends on DEBUG_KERNEL
56	depends on EXPERT
57	help
58	  Enables debugging the DP tunnel manager's state, including the
59	  consistency of all managed tunnels' reference counting and the state of
60	  streams contained in tunnels.
61
62	  If in doubt, say "N".
63
64config DRM_DISPLAY_HDCP_HELPER
65	bool "DRM HDCD Helpers"
66	depends on DRM_DISPLAY_HELPER
67	help
68	  DRM display helpers for HDCP.
69
70config DRM_DISPLAY_HDMI_HELPER
71	bool "DRM HDMI Helpers"
72	depends on DRM_DISPLAY_HELPER
73	help
74	  DRM display helpers for HDMI.
75