diff options
author | Thierry Reding <treding@nvidia.com> | 2018-06-04 17:36:50 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-28 11:18:38 +0100 |
commit | 7e3c53a096a9e75b12e69f93ef1fbc7cb1b27297 (patch) | |
tree | f2d54ab6bc82e88f5a8d74a2ddfefb64df539ba7 /drivers/gpu/drm/tegra/hub.c | |
parent | drm/tegra: Move IOMMU group into host1x client (diff) | |
download | linux-7e3c53a096a9e75b12e69f93ef1fbc7cb1b27297.tar.xz linux-7e3c53a096a9e75b12e69f93ef1fbc7cb1b27297.zip |
drm/tegra: gem: Rename paddr -> iova
The address can refer to either physical memory or IO virtual memory.
If referring to IO virtual memory, there will always be an associated
physical memory address. Rename this variable to "iova" to clarify in
all cases that this is the IO virtual memory, which in the absence of
an IOMMU is identical to the physical address.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/hub.c')
-rw-r--r-- | drivers/gpu/drm/tegra/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/hub.c b/drivers/gpu/drm/tegra/hub.c index 839b49c40e51..104115e42190 100644 --- a/drivers/gpu/drm/tegra/hub.c +++ b/drivers/gpu/drm/tegra/hub.c @@ -457,7 +457,7 @@ static void tegra_shared_plane_atomic_update(struct drm_plane *plane, tegra_plane_writel(p, 0, DC_WINBUF_CDE_CONTROL); bo = tegra_fb_get_plane(fb, 0); - base = bo->paddr; + base = bo->iova; tegra_plane_writel(p, state->format, DC_WIN_COLOR_DEPTH); tegra_plane_writel(p, 0, DC_WIN_PRECOMP_WGRP_PARAMS); |