diff options
author | Thierry Reding <treding@nvidia.com> | 2019-10-28 13:37:16 +0100 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-29 15:04:36 +0100 |
commit | d972d6247628054f4a9f05c084a1f52de9df209d (patch) | |
tree | dd81ac17b5c37ca2b412b35227b4ce60e4f104fa /drivers/gpu/drm/tegra/falcon.h | |
parent | drm/tegra: Remove memory allocation from Falcon library (diff) | |
download | linux-d972d6247628054f4a9f05c084a1f52de9df209d.tar.xz linux-d972d6247628054f4a9f05c084a1f52de9df209d.zip |
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.h | 5 |
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 */ |