Loading...
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
1config DRM_TEGRA
2 tristate "NVIDIA Tegra DRM"
3 depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
4 depends on DRM
5 depends on RESET_CONTROLLER
6 select DRM_KMS_HELPER
7 select DRM_MIPI_DSI
8 select DRM_PANEL
9 select TEGRA_HOST1X
10 help
11 Choose this option if you have an NVIDIA Tegra SoC.
12
13 To compile this driver as a module, choose M here: the module
14 will be called tegra-drm.
15
16if DRM_TEGRA
17
18config DRM_TEGRA_FBDEV
19 bool "Enable legacy fbdev support"
20 select DRM_KMS_FB_HELPER
21 select FB_SYS_FILLRECT
22 select FB_SYS_COPYAREA
23 select FB_SYS_IMAGEBLIT
24 default y
25 help
26 Choose this option if you have a need for the legacy fbdev support.
27 Note that this support also provides the Linux console on top of
28 the Tegra modesetting driver.
29
30config DRM_TEGRA_DEBUG
31 bool "NVIDIA Tegra DRM debug support"
32 help
33 Say yes here to enable debugging support.
34
35config DRM_TEGRA_STAGING
36 bool "Enable HOST1X interface"
37 depends on STAGING
38 help
39 Say yes if HOST1X should be available for userspace DRM users.
40
41 If unsure, choose N.
42
43endif