aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x/Makefile
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2022-06-27 17:19:48 +0300
committerThierry Reding <treding@nvidia.com>2022-07-08 16:27:52 +0200
commit8aa5bcb61612060429223d1fbb7a1c30a579fc1f (patch)
tree2e09643084d8c033217ebc5c397a35ea450aefd7 /drivers/gpu/host1x/Makefile
parentdt-bindings: host1x: Fix bracketing in example (diff)
downloadlinux-dev-8aa5bcb61612060429223d1fbb7a1c30a579fc1f.tar.xz
linux-dev-8aa5bcb61612060429223d1fbb7a1c30a579fc1f.zip
gpu: host1x: Add context device management code
Add code to register context devices from device tree, allocate them out and manage their refcounts. 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/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/Makefile b/drivers/gpu/host1x/Makefile
index c891a3e33844..28f7aaedce0f 100644
--- a/drivers/gpu/host1x/Makefile
+++ b/drivers/gpu/host1x/Makefile
@@ -17,5 +17,8 @@ host1x-y = \
hw/host1x06.o \
hw/host1x07.o
+host1x-$(CONFIG_IOMMU_API) += \
+ context.o
+
obj-$(CONFIG_TEGRA_HOST1X) += host1x.o
obj-$(CONFIG_TEGRA_HOST1X_CONTEXT_BUS) += context_bus.o