summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tegra/gem.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2018-06-04 17:36:50 +0200
committerThierry Reding <treding@nvidia.com>2019-10-28 11:18:38 +0100
commit7e3c53a096a9e75b12e69f93ef1fbc7cb1b27297 (patch)
treef2d54ab6bc82e88f5a8d74a2ddfefb64df539ba7 /drivers/gpu/drm/tegra/gem.h
parentdrm/tegra: Move IOMMU group into host1x client (diff)
downloadlinux-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/gem.h')
-rw-r--r--drivers/gpu/drm/tegra/gem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/gem.h b/drivers/gpu/drm/tegra/gem.h
index 83ffb1e14ca3..fafb5724499b 100644
--- a/drivers/gpu/drm/tegra/gem.h
+++ b/drivers/gpu/drm/tegra/gem.h
@@ -31,7 +31,7 @@ struct tegra_bo {
struct host1x_bo base;
unsigned long flags;
struct sg_table *sgt;
- dma_addr_t paddr;
+ dma_addr_t iova;
void *vaddr;
struct drm_mm_node *mm;