1 # SPDX-License-Identifier: GPL-2.0-only
2 
3 config TEGRA_HOST1X_CONTEXT_BUS
4 	bool
5 
6 config TEGRA_HOST1X
7 	tristate "NVIDIA Tegra host1x driver"
8 	depends on ARCH_TEGRA || (ARM && COMPILE_TEST)
9 	select DMA_SHARED_BUFFER
10 	select TEGRA_HOST1X_CONTEXT_BUS
11 	select IOMMU_IOVA
12 	help
13 	  Driver for the NVIDIA Tegra host1x hardware.
14 
15 	  The Tegra host1x module is the DMA engine for register access to
16 	  Tegra's graphics- and multimedia-related modules. The modules served
17 	  by host1x are referred to as clients. host1x includes some other
18 	  functionality, such as synchronization.
19 
20 if TEGRA_HOST1X
21 
22 config TEGRA_HOST1X_FIREWALL
23 	bool "Enable HOST1X security firewall"
24 	default y
25 	help
26 	  Say yes if kernel should protect command streams from tampering.
27 
28 	  If unsure, choose Y.
29 
30 endif
31