blob: 1d1269fde3c160fe8739f410f4aeae3eb64ad068 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Thierry Redingd8f4a9e2012-11-15 21:28:22 +00002config DRM_TEGRA
Thierry Redingfac8f152013-11-08 11:43:15 +01003 tristate "NVIDIA Tegra DRM"
Thierry Reding158b50a2013-11-20 20:39:35 +01004 depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
Thierry Redingdb4fd5192014-10-16 15:40:58 +02005 depends on COMMON_CLK
Stephen Warrene1041ca2013-03-11 16:33:02 -06006 depends on DRM
Arnd Bergmann2d0f9862017-07-21 18:13:23 +02007 depends on OF
Thierry Redingd30a91f2013-11-08 11:56:59 +01008 select DRM_KMS_HELPER
Thierry Redingdec72732013-09-03 08:45:46 +02009 select DRM_MIPI_DSI
Thierry Reding9be7d862013-08-30 15:22:36 +020010 select DRM_PANEL
Thierry Redingd30a91f2013-11-08 11:56:59 +010011 select TEGRA_HOST1X
Thierry Reding398cbaa2017-03-20 20:04:20 +010012 select IOMMU_IOVA if IOMMU_SUPPORT
Hans Verkuilfb83be82017-09-11 14:29:52 +020013 select CEC_CORE if CEC_NOTIFIER
Thierry Redingd8f4a9e2012-11-15 21:28:22 +000014 help
15 Choose this option if you have an NVIDIA Tegra SoC.
16
17 To compile this driver as a module, choose M here: the module
18 will be called tegra-drm.
19
20if DRM_TEGRA
21
Thierry Redingdee82682013-10-09 10:32:49 +020022config DRM_TEGRA_DEBUG
23 bool "NVIDIA Tegra DRM debug support"
24 help
25 Say yes here to enable debugging support.
26
Terje Bergstromd43f81cb2013-03-22 16:34:09 +020027config DRM_TEGRA_STAGING
28 bool "Enable HOST1X interface"
29 depends on STAGING
30 help
31 Say yes if HOST1X should be available for userspace DRM users.
32
33 If unsure, choose N.
34
Thierry Redingd8f4a9e2012-11-15 21:28:22 +000035endif