David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | config 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 IOMMU_IOVA if IOMMU_SUPPORT |
| 13 | select CEC_CORE if CEC_NOTIFIER |
| 14 | 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 | |
| 20 | if DRM_TEGRA |
| 21 | |
| 22 | config DRM_TEGRA_DEBUG |
| 23 | bool "NVIDIA Tegra DRM debug support" |
| 24 | help |
| 25 | Say yes here to enable debugging support. |
| 26 | |
| 27 | config 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 | |
| 35 | endif |