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