xref: /linux/drivers/gpu/drm/display/Kconfig (revision 54cb39e2293b1e221708d3ac157ecc59086e1b46)
11e0f6642SThomas Zimmermann# SPDX-License-Identifier: MIT
21e0f6642SThomas Zimmermann
31e0f6642SThomas Zimmermannconfig DRM_DISPLAY_HELPER
4edc4e851SGeert Uytterhoeven	tristate
51e0f6642SThomas Zimmermann	depends on DRM
61e0f6642SThomas Zimmermann	help
71e0f6642SThomas Zimmermann	  DRM helpers for display adapters.
81e0f6642SThomas Zimmermann
935fd55ccSMaxime Ripardconfig DRM_DISPLAY_DP_AUX_BUS
10edc4e851SGeert Uytterhoeven	tristate
1135fd55ccSMaxime Ripard	depends on DRM
1235fd55ccSMaxime Ripard	depends on OF || COMPILE_TEST
1335fd55ccSMaxime Ripard
1435fd55ccSMaxime Ripardconfig DRM_DISPLAY_DP_AUX_CEC
1535fd55ccSMaxime Ripard	bool "Enable DisplayPort CEC-Tunneling-over-AUX HDMI support"
16edc4e851SGeert Uytterhoeven	depends on DRM && DRM_DISPLAY_HELPER
17edc4e851SGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
1835fd55ccSMaxime Ripard	select CEC_CORE
1935fd55ccSMaxime Ripard	help
2035fd55ccSMaxime Ripard	  Choose this option if you want to enable HDMI CEC support for
2135fd55ccSMaxime Ripard	  DisplayPort/USB-C to HDMI adapters.
2235fd55ccSMaxime Ripard
2335fd55ccSMaxime Ripard	  Note: not all adapters support this feature, and even for those
2435fd55ccSMaxime Ripard	  that do support this they often do not hook up the CEC pin.
2535fd55ccSMaxime Ripard
2635fd55ccSMaxime Ripardconfig DRM_DISPLAY_DP_AUX_CHARDEV
27edc4e851SGeert Uytterhoeven	bool "DRM DP AUX Interface"
28edc4e851SGeert Uytterhoeven	depends on DRM && DRM_DISPLAY_HELPER
29edc4e851SGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
3035fd55ccSMaxime Ripard	help
3135fd55ccSMaxime Ripard	  Choose this option to enable a /dev/drm_dp_auxN node that allows to
3235fd55ccSMaxime Ripard	  read and write values to arbitrary DPCD registers on the DP aux
3335fd55ccSMaxime Ripard	  channel.
3435fd55ccSMaxime Ripard
351e0f6642SThomas Zimmermannconfig DRM_DISPLAY_DP_HELPER
36edc4e851SGeert Uytterhoeven	bool
371e0f6642SThomas Zimmermann	depends on DRM_DISPLAY_HELPER
381e0f6642SThomas Zimmermann	help
391e0f6642SThomas Zimmermann	  DRM display helpers for DisplayPort.
401e0f6642SThomas Zimmermann
41295654f7SImre Deakconfig DRM_DISPLAY_DP_TUNNEL
42edc4e851SGeert Uytterhoeven	bool
43edc4e851SGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
44295654f7SImre Deak	help
45295654f7SImre Deak	  Enable support for DisplayPort tunnels. This allows drivers to use
46295654f7SImre Deak	  DP tunnel features like the Bandwidth Allocation mode to maximize the
47295654f7SImre Deak	  BW utilization for display streams on Thunderbolt links.
48295654f7SImre Deak
49f6c74543SMaxime Ripardconfig DRM_DISPLAY_DP_TUNNEL_STATE_DEBUG
50295654f7SImre Deak	bool "Enable debugging the DP tunnel state"
51295654f7SImre Deak	depends on REF_TRACKER
52295654f7SImre Deak	depends on DRM_DISPLAY_DP_TUNNEL
53295654f7SImre Deak	depends on DEBUG_KERNEL
54295654f7SImre Deak	depends on EXPERT
55295654f7SImre Deak	help
56295654f7SImre Deak	  Enables debugging the DP tunnel manager's state, including the
57295654f7SImre Deak	  consistency of all managed tunnels' reference counting and the state of
58295654f7SImre Deak	  streams contained in tunnels.
59295654f7SImre Deak
60295654f7SImre Deak	  If in doubt, say "N".
61295654f7SImre Deak
626a99099fSThomas Zimmermannconfig DRM_DISPLAY_HDCP_HELPER
63edc4e851SGeert Uytterhoeven	bool
646a99099fSThomas Zimmermann	depends on DRM_DISPLAY_HELPER
656a99099fSThomas Zimmermann	help
666a99099fSThomas Zimmermann	  DRM display helpers for HDCP.
676a99099fSThomas Zimmermann
684fc8cb47SThomas Zimmermannconfig DRM_DISPLAY_HDMI_HELPER
69edc4e851SGeert Uytterhoeven	bool
704fc8cb47SThomas Zimmermann	depends on DRM_DISPLAY_HELPER
714fc8cb47SThomas Zimmermann	help
724fc8cb47SThomas Zimmermann	  DRM display helpers for HDMI.
73*54cb39e2SMaxime Ripard
74*54cb39e2SMaxime Ripardconfig DRM_DISPLAY_HDMI_STATE_HELPER
75*54cb39e2SMaxime Ripard	bool
76*54cb39e2SMaxime Ripard	depends on DRM_DISPLAY_HELPER
77*54cb39e2SMaxime Ripard	depends on DRM_DISPLAY_HDMI_HELPER
78*54cb39e2SMaxime Ripard	help
79*54cb39e2SMaxime Ripard	  DRM KMS state helpers for HDMI.
80