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