aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/Makefile
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/Makefile
parentdrm/tegra: gem: Do not try to dereference ERR_PTR() (diff)
downloadlinux-dev-597b89d30b42dcc8e6b262e6876b42dde66f97f0.tar.xz
linux-dev-597b89d30b42dcc8e6b262e6876b42dde66f97f0.zip
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/Makefile')
-rw-r--r--drivers/gpu/host1x/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile
index d2b6f7de0498..c891a3e33844 100644
--- a/drivers/gpu/host1x/Makefile
+++ b/drivers/gpu/host1x/Makefile
@@ -18,3 +18,4 @@ host1x-y = \
hw/host1x07.o
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
+obj-$(CONFIG_TEGRA_HOST1X_CONTEXT_BUS) += context_bus.o