summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_mmu.h
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-11-07 15:35:47 -0700
committerRob Clark <robdclark@gmail.com>2018-12-11 13:05:31 -0500
commit70dc51b447f570ba3881e289b8134d364977a6f0 (patch)
tree5973b08416103d9bfc81ac9c4b232cf7798fd305 /drivers/gpu/drm/msm/msm_mmu.h
parent1e29dff00400d40fdd3d52f2a76c188f5126f033 (diff)
downloadlinux-stable-70dc51b447f570ba3881e289b8134d364977a6f0.tar.gz
linux-stable-70dc51b447f570ba3881e289b8134d364977a6f0.tar.bz2
linux-stable-70dc51b447f570ba3881e289b8134d364977a6f0.zip
drm/msm: Remove sgt from the mmu unmap function
The scatter gather table doesn't need to be passed in for the MMU unmap function. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_mmu.h')
-rw-r--r--drivers/gpu/drm/msm/msm_mmu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_mmu.h b/drivers/gpu/drm/msm/msm_mmu.h
index aa2c5d4580c8..94c0b83d8026 100644
--- a/drivers/gpu/drm/msm/msm_mmu.h
+++ b/drivers/gpu/drm/msm/msm_mmu.h
@@ -25,8 +25,7 @@ struct msm_mmu_funcs {
void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt);
int (*map)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
unsigned len, int prot);
- int (*unmap)(struct msm_mmu *mmu, uint64_t iova, struct sg_table *sgt,
- unsigned len);
+ int (*unmap)(struct msm_mmu *mmu, uint64_t iova, unsigned len);
void (*destroy)(struct msm_mmu *mmu);
};