aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/dc.h
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2018-05-04 02:47:19 +0300
committerThierry Reding <treding@nvidia.com>2018-05-04 14:19:14 +0200
commit6f75b16b2683eb7c86ce2c8d150bf3fa759103b9 (patch)
treeb2aa244aac84bd4a0a0da23a39f3a439f2e9fbc6 /drivers/gpu/drm/tegra/dc.h
parentdrm/tegra: hub: Use state directly (diff)
downloadlinux-dev-6f75b16b2683eb7c86ce2c8d150bf3fa759103b9.tar.xz
linux-dev-6f75b16b2683eb7c86ce2c8d150bf3fa759103b9.zip
drm/tegra: dc: Balance IOMMU group refcounting
Remove unneeded iommu_group_get() and add missing iommu_group_put(), correcting IOMMU group refcount. This is a minor correction / cleanup that doesn't really fix anything because Tegra's IOMMU driver are built-in and hence groups refcounting can't hold IOMMU driver from unloading. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.h')
-rw-r--r--drivers/gpu/drm/tegra/dc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dc.h b/drivers/gpu/drm/tegra/dc.h
index d2b50d32de4d..7be786febb17 100644
--- a/drivers/gpu/drm/tegra/dc.h
+++ b/drivers/gpu/drm/tegra/dc.h
@@ -92,7 +92,7 @@ struct tegra_dc {
const struct tegra_dc_soc_info *soc;
- struct iommu_domain *domain;
+ struct iommu_group *group;
};
static inline struct tegra_dc *