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