summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/drm.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-10-12 18:43:33 +0300
committerThierry Reding <treding@nvidia.com>2017-12-21 16:52:36 +0300
commitbc8828bd08bd2a645caeb64d299d67faca7a3b4f (patch)
treeab80c8b65bbe315992209e8bcb53fdff2019ead6 /drivers/gpu/drm/tegra/drm.h
parent41c3068cc2fd0ce179b910c4500934786e8156ba (diff)
downloadlinux-bc8828bd08bd2a645caeb64d299d67faca7a3b4f.tar.xz
drm/tegra: Use IOMMU groups
In order to support IOMMUs more generically and transparently handle the ARM SMMU on Tegra186, move to using groups instead of devices for domain attachment. An IOMMU group is a set of devices that share the same IOMMU domain and is therefore a good match to represent what Tegra DRM needs. Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.h')
-rw-r--r--drivers/gpu/drm/tegra/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tegra/drm.h b/drivers/gpu/drm/tegra/drm.h
index c52bc5978d1c..da3d8c141aee 100644
--- a/drivers/gpu/drm/tegra/drm.h
+++ b/drivers/gpu/drm/tegra/drm.h
@@ -60,6 +60,7 @@ struct tegra_drm {
struct drm_device *drm;
struct iommu_domain *domain;
+ struct iommu_group *group;
struct mutex mm_lock;
struct drm_mm mm;