mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
c8a2036474
Currently configurations can be generated where IOMMU_SUPPORT is disabled but IOMMU_IOVA is built as a module and HOST1X as built-in. In such a case, the symbols guarded by IOMMU_IOVA will not be available when linking the host1x driver and cause a linking failure. Simplify this by unconditionally selecting IOMMU_IOVA, which makes sure that it will be forced to =y if HOST1X=y. Technically we can now get IOMMU_IOVA code built-in even if we don't use it (host1x only uses it when IOMMU_SUPPORT is also enabled), but such configuration are of a mostly academic nature. In all practical configurations we want IOMMU support anyway. Signed-off-by: Thierry Reding <treding@nvidia.com>
25 lines
676 B
Plaintext
25 lines
676 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config TEGRA_HOST1X
|
|
tristate "NVIDIA Tegra host1x driver"
|
|
depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
|
|
select IOMMU_IOVA
|
|
help
|
|
Driver for the NVIDIA Tegra host1x hardware.
|
|
|
|
The Tegra host1x module is the DMA engine for register access to
|
|
Tegra's graphics- and multimedia-related modules. The modules served
|
|
by host1x are referred to as clients. host1x includes some other
|
|
functionality, such as synchronization.
|
|
|
|
if TEGRA_HOST1X
|
|
|
|
config TEGRA_HOST1X_FIREWALL
|
|
bool "Enable HOST1X security firewall"
|
|
default y
|
|
help
|
|
Say yes if kernel should protect command streams from tampering.
|
|
|
|
If unsure, choose Y.
|
|
|
|
endif
|