diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2022-05-16 11:52:51 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-06-01 12:50:42 +0300 |
commit | 597b89d30b42dcc8e6b262e6876b42dde66f97f0 (patch) | |
tree | 869a22d9070a1e34988262d9aabc7c0446555128 /drivers/gpu/host1x/Kconfig | |
parent | cb7e1abc2c73633e1eefa168ab2dad6e838899c9 (diff) | |
download | linux-597b89d30b42dcc8e6b262e6876b42dde66f97f0.tar.xz |
gpu: host1x: Add context bus
The context bus is a "dummy" bus that contains struct devices that
correspond to IOMMU contexts assigned through Host1x to processes.
Even when host1x itself is built as a module, the bus is registered
in built-in code so that the built-in ARM SMMU driver is able to
reference it.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/Kconfig')
-rw-r--r-- | drivers/gpu/host1x/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/Kconfig b/drivers/gpu/host1x/Kconfig index 6815b4db17c1..1861a8180d3f 100644 --- a/drivers/gpu/host1x/Kconfig +++ b/drivers/gpu/host1x/Kconfig @@ -1,8 +1,13 @@ # SPDX-License-Identifier: GPL-2.0-only + +config TEGRA_HOST1X_CONTEXT_BUS + bool + config TEGRA_HOST1X tristate "NVIDIA Tegra host1x driver" depends on ARCH_TEGRA || (ARM && COMPILE_TEST) select DMA_SHARED_BUFFER + select TEGRA_HOST1X_CONTEXT_BUS select IOMMU_IOVA help Driver for the NVIDIA Tegra host1x hardware. |