drm/msm: convert to iommu_map_sg
authorRob Clark <robdclark@gmail.com>
Wed, 15 Feb 2017 20:44:04 +0000 (15:44 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:31 +0000 (06:59 -0400)
commitf90000492ed8df9cb0214e7551a43a2be170db7a
tree28a9bbad07e5a5ec46ee73a171edab10ce101632
parentde098e5fb123ca142656eaf7936ce2a60b7d1339
drm/msm: convert to iommu_map_sg

Significantly simplifies things.  Also iommu_unmap() can unmap an entire
iova range.

(If backporting to downstream kernel you might need to revert this.  Or
at least double check older iommu implementation.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_iommu.c