drm/tegra: Use IOMMU groups
authorThierry Reding <treding@nvidia.com>
Thu, 12 Oct 2017 15:43:33 +0000 (17:43 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 21 Dec 2017 13:52:36 +0000 (14:52 +0100)
commitbc8828bd08bd2a645caeb64d299d67faca7a3b4f
treeab80c8b65bbe315992209e8bcb53fdff2019ead6
parent41c3068cc2fd0ce179b910c4500934786e8156ba
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>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/drm.h
drivers/gpu/drm/tegra/vic.c