xref: /linux/drivers/gpu/drm/display/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
1# SPDX-License-Identifier: MIT
2
3config DRM_DISPLAY_DP_AUX_BUS
4	tristate
5	depends on DRM
6	depends on OF
7
8config DRM_DISPLAY_HELPER
9	tristate
10	depends on DRM
11	help
12	  DRM helpers for display adapters.
13
14if DRM_DISPLAY_HELPER
15
16config DRM_BRIDGE_CONNECTOR
17	bool
18	select DRM_DISPLAY_HDMI_STATE_HELPER
19	help
20	  DRM connector implementation terminating DRM bridge chains.
21
22config DRM_DISPLAY_DP_AUX_CEC
23	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
24	select DRM_DISPLAY_DP_HELPER
25	select CEC_CORE
26	help
27	  Choose this option if you want to enable HDMI CEC support for
28	  DisplayPort/USB-C to HDMI adapters.
29
30	  Note: not all adapters support this feature, and even for those
31	  that do support this they often do not hook up the CEC pin.
32
33config DRM_DISPLAY_DP_AUX_CHARDEV
34	bool "DRM DP AUX Interface"
35	select DRM_DISPLAY_DP_HELPER
36	help
37	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
38	  read and write values to arbitrary DPCD registers on the DP aux
39	  channel.
40
41config DRM_DISPLAY_DP_HELPER
42	bool
43	help
44	  DRM display helpers for DisplayPort.
45
46config DRM_DISPLAY_DP_TUNNEL
47	bool
48	select DRM_DISPLAY_DP_HELPER
49	help
50	  Enable support for DisplayPort tunnels. This allows drivers to use
51	  DP tunnel features like the Bandwidth Allocation mode to maximize the
52	  BW utilization for display streams on Thunderbolt links.
53
54config DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
55	bool "Enable debugging the DP tunnel state"
56	depends on REF_TRACKER
57	depends on DRM_DISPLAY_DP_TUNNEL
58	depends on DEBUG_KERNEL
59	depends on EXPERT
60	help
61	  Enables debugging the DP tunnel manager's state, including the
62	  consistency of all managed tunnels' reference counting and the state of
63	  streams contained in tunnels.
64
65	  If in doubt, say "N".
66
67config DRM_DISPLAY_DSC_HELPER
68	bool
69	depends on DRM_DISPLAY_HELPER
70	help
71	  DRM display helpers for VESA DSC (used by DSI and DisplayPort).
72
73config DRM_DISPLAY_HDCP_HELPER
74	bool
75	help
76	  DRM display helpers for HDCP.
77
78config DRM_DISPLAY_HDMI_HELPER
79	bool
80	help
81	  DRM display helpers for HDMI.
82
83config DRM_DISPLAY_HDMI_STATE_HELPER
84	bool
85	select DRM_DISPLAY_HDMI_HELPER
86	help
87	  DRM KMS state helpers for HDMI.
88
89endif # DRM_DISPLAY_HELPER
90