summaryrefslogtreecommitdiff
path: root/drivers/gpu/host1x/Kconfig
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2022-05-16 11:52:51 +0300
committerThierry Reding <treding@nvidia.com>2022-06-01 11:50:42 +0200
commit597b89d30b42dcc8e6b262e6876b42dde66f97f0 (patch)
tree869a22d9070a1e34988262d9aabc7c0446555128 /drivers/gpu/host1x/Kconfig
parentcb7e1abc2c73633e1eefa168ab2dad6e838899c9 (diff)
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/Kconfig5
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.