summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/gr2d.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-28 13:37:08 +0100
committerThierry Reding <treding@nvidia.com>2019-10-29 15:04:34 +0100
commit7edd7961e58d531d19758134919de13dac47bcbe (patch)
tree9bedf33b332b683e71b3810b10914613cfd21259 /drivers/gpu/drm/tegra/gr2d.c
parenta7303f7735717c95bf5f65c18c901c72e91dc55b (diff)
drm/tegra: Simplify IOMMU group selection
All the devices that make up the DRM device are now part of the same IOMMU group. This simplifies the handling of the IOMMU attachment and also avoids exhausting the number of IOMMUs available on early Tegra SoC generations. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/gr2d.c')
-rw-r--r--drivers/gpu/drm/tegra/gr2d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/gr2d.c b/drivers/gpu/drm/tegra/gr2d.c
index 5d5af9a05c18..1fc4e56c7cc5 100644
--- a/drivers/gpu/drm/tegra/gr2d.c
+++ b/drivers/gpu/drm/tegra/gr2d.c
@@ -50,7 +50,7 @@ static int gr2d_init(struct host1x_client *client)
goto put;
}
- err = host1x_client_iommu_attach(client, false);
+ err = host1x_client_iommu_attach(client);
if (err < 0) {
dev_err(client->dev, "failed to attach to domain: %d\n", err);
goto free;