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