xref: /linux/drivers/gpu/drm/tegra/Kconfig (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
1# SPDX-License-Identifier: GPL-2.0-only
2config DRM_TEGRA
3	tristate "NVIDIA Tegra DRM"
4	depends on ARCH_TEGRA || COMPILE_TEST
5	depends on COMMON_CLK
6	depends on DRM
7	depends on OF
8	select DRM_DISPLAY_DP_HELPER
9	select DRM_DISPLAY_HDMI_HELPER
10	select DRM_DISPLAY_HELPER
11	select DRM_BRIDGE_CONNECTOR
12	select DRM_DISPLAY_DP_AUX_BUS
13	select DRM_KMS_HELPER
14	select DRM_MIPI_DSI
15	select DRM_PANEL
16	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
17	select TEGRA_HOST1X
18	select INTERCONNECT
19	select IOMMU_IOVA
20	select CEC_CORE if CEC_NOTIFIER
21	select SND_SIMPLE_CARD if SND_SOC_TEGRA20_SPDIF
22	select SND_SOC_HDMI_CODEC if SND_SOC_TEGRA20_SPDIF
23	select SND_AUDIO_GRAPH_CARD if SND_SOC_TEGRA20_SPDIF
24	help
25	  Choose this option if you have an NVIDIA Tegra SoC.
26
27	  To compile this driver as a module, choose M here: the module
28	  will be called tegra-drm.
29
30if DRM_TEGRA
31
32config DRM_TEGRA_DEBUG
33	bool "NVIDIA Tegra DRM debug support"
34	help
35	  Say yes here to enable debugging support.
36
37config DRM_TEGRA_STAGING
38	bool "Enable HOST1X interface"
39	depends on STAGING
40	help
41	  Say yes if HOST1X should be available for userspace DRM users.
42
43	  If unsure, choose N.
44
45endif
46