summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/falcon.h
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-28 15:37:16 +0300
committerThierry Reding <treding@nvidia.com>2019-10-29 17:04:36 +0300
commitd972d6247628054f4a9f05c084a1f52de9df209d (patch)
treedd81ac17b5c37ca2b412b35227b4ce60e4f104fa /drivers/gpu/drm/tegra/falcon.h
parent20e7dce255e96a4d58168cf48e20210146dacf23 (diff)
downloadlinux-d972d6247628054f4a9f05c084a1f52de9df209d.tar.xz
drm/tegra: falcon: Clarify address usage
Rename paddr -> iova and vaddr -> virt to make it clearer how these addresses are used. This is important for a subsequent patch that makes a distinction between the physical address (physical address of the system memory from the CPU's point of view) and the IOVA (physical address of the system memory from the device's point of view). Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/falcon.h')
-rw-r--r--drivers/gpu/drm/tegra/falcon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/tegra/falcon.h b/drivers/gpu/drm/tegra/falcon.h
index 92491a1e90df..c56ee32d92ee 100644
--- a/drivers/gpu/drm/tegra/falcon.h
+++ b/drivers/gpu/drm/tegra/falcon.h
@@ -84,8 +84,9 @@ struct falcon_firmware {
const struct firmware *firmware;
/* Raw firmware data */
- dma_addr_t paddr;
- void *vaddr;
+ dma_addr_t iova;
+ dma_addr_t phys;
+ void *virt;
size_t size;
/* Parsed firmware information */