summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/panfrost
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-07-02 16:44:58 +0100
committerWill Deacon <will@kernel.org>2019-07-29 17:22:59 +0100
commita2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6 (patch)
tree8bbc84b08b1faf47b95e595feceed1ab53f00d58 /drivers/gpu/drm/panfrost
parente953f7f2fa78d1c7fd064171f88457c6b1e21af9 (diff)
downloadlinux-stable-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.tar.gz
linux-stable-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.tar.bz2
linux-stable-a2d3a382d6c682e22b263c9e7f0d857c3fa6c9d6.zip
iommu/io-pgtable: Pass struct iommu_iotlb_gather to ->unmap()
Update the io-pgtable ->unmap() function to take an iommu_iotlb_gather pointer as an argument, and update the callers as appropriate. Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/panfrost')
-rw-r--r--drivers/gpu/drm/panfrost/panfrost_mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_mmu.c b/drivers/gpu/drm/panfrost/panfrost_mmu.c
index de22a2276e00..6e8145c36e93 100644
--- a/drivers/gpu/drm/panfrost/panfrost_mmu.c
+++ b/drivers/gpu/drm/panfrost/panfrost_mmu.c
@@ -222,7 +222,7 @@ void panfrost_mmu_unmap(struct panfrost_gem_object *bo)
size_t unmapped_page;
size_t pgsize = get_pgsize(iova, len - unmapped_len);
- unmapped_page = ops->unmap(ops, iova, pgsize);
+ unmapped_page = ops->unmap(ops, iova, pgsize, NULL);
if (!unmapped_page)
break;