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_DP_AUX_BUS
12	select DRM_KMS_HELPER
13	select DRM_MIPI_DSI
14	select DRM_PANEL
15	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
16	select TEGRA_HOST1X
17	select INTERCONNECT
18	select IOMMU_IOVA
19	select CEC_CORE if CEC_NOTIFIER
20	select SND_SIMPLE_CARD if SND_SOC_TEGRA20_SPDIF
21	select SND_SOC_HDMI_CODEC if SND_SOC_TEGRA20_SPDIF
22	select SND_AUDIO_GRAPH_CARD if SND_SOC_TEGRA20_SPDIF
23	help
24	  Choose this option if you have an NVIDIA Tegra SoC.
25
26	  To compile this driver as a module, choose M here: the module
27	  will be called tegra-drm.
28
29if DRM_TEGRA
30
31config DRM_TEGRA_DEBUG
32	bool "NVIDIA Tegra DRM debug support"
33	help
34	  Say yes here to enable debugging support.
35
36config DRM_TEGRA_STAGING
37	bool "Enable HOST1X interface"
38	depends on STAGING
39	help
40	  Say yes if HOST1X should be available for userspace DRM users.
41
42	  If unsure, choose N.
43
44endif
45