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