xref: /linux/drivers/gpu/drm/tegra/Kconfig (revision 3fd6c59042dbba50391e30862beac979491145fe)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2dee8268fSThierry Redingconfig DRM_TEGRA
3fac8f158SThierry Reding	tristate "NVIDIA Tegra DRM"
4f75d1982SChristian König	depends on ARCH_TEGRA || COMPILE_TEST
5db4fd519SThierry Reding	depends on COMMON_CLK
6dee8268fSThierry Reding	depends on DRM
72d0f9865SArnd Bergmann	depends on OF
87fe302aeSGeert Uytterhoeven	select DRM_CLIENT_SELECTION
9d7c128cbSGeert Uytterhoeven	select DRM_DISPLAY_DP_HELPER
1005b8b6ddSGeert Uytterhoeven	select DRM_DISPLAY_HDMI_HELPER
11*9da7ec9bSDmitry Baryshkov	select DRM_DISPLAY_HELPER
121e0b9b44SGeert Uytterhoeven	select DRM_BRIDGE_CONNECTOR
13d30a91f8SThierry Reding	select DRM_DISPLAY_DP_AUX_BUS
14dec72739SThierry Reding	select DRM_KMS_HELPER
159be7d864SThierry Reding	select DRM_MIPI_DSI
16b21f187fSThomas Zimmermann	select DRM_PANEL
17d30a91f8SThierry Reding	select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
1804d5d5dfSDmitry Osipenko	select TEGRA_HOST1X
1984db889eSThierry Reding	select INTERCONNECT
20fb83be88SHans Verkuil	select IOMMU_IOVA
2120c5a613SDmitry Osipenko	select CEC_CORE if CEC_NOTIFIER
2220c5a613SDmitry Osipenko	select SND_SIMPLE_CARD if SND_SOC_TEGRA20_SPDIF
2320c5a613SDmitry Osipenko	select SND_SOC_HDMI_CODEC if SND_SOC_TEGRA20_SPDIF
24dee8268fSThierry Reding	select SND_AUDIO_GRAPH_CARD if SND_SOC_TEGRA20_SPDIF
25dee8268fSThierry Reding	help
26dee8268fSThierry Reding	  Choose this option if you have an NVIDIA Tegra SoC.
27dee8268fSThierry Reding
28dee8268fSThierry Reding	  To compile this driver as a module, choose M here: the module
29dee8268fSThierry Reding	  will be called tegra-drm.
30dee8268fSThierry Reding
31dee8268fSThierry Redingif DRM_TEGRA
32dee8268fSThierry Reding
33dee8268fSThierry Redingconfig DRM_TEGRA_DEBUG
34dee8268fSThierry Reding	bool "NVIDIA Tegra DRM debug support"
35dee8268fSThierry Reding	help
36dee8268fSThierry Reding	  Say yes here to enable debugging support.
37dee8268fSThierry Reding
38dee8268fSThierry Redingconfig DRM_TEGRA_STAGING
39dee8268fSThierry Reding	bool "Enable HOST1X interface"
40dee8268fSThierry Reding	depends on STAGING
41dee8268fSThierry Reding	help
42dee8268fSThierry Reding	  Say yes if HOST1X should be available for userspace DRM users.
43dee8268fSThierry Reding
44dee8268fSThierry Reding	  If unsure, choose N.
45dee8268fSThierry Reding
46endif
47