drm/msm: small mmap offset cleanups
authorRob Clark <robdclark@gmail.com>
Wed, 12 Nov 2014 20:25:50 +0000 (15:25 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 16 Nov 2014 19:27:39 +0000 (14:27 -0500)
commit257d06f7043a432774a315223053730f8b170b0e
tree63f7eb6d3a506a7c7dd030697171bab8f50711da
parente27c54ffd2b30f9e09f13211869449ec97c6e42f
drm/msm: small mmap offset cleanups

Use pre-computed iova when unmapping, to reduce the places we assume iova
and mmap offset are (at the moment) the same.  And get rid of an extra
drm_gem_free_mmap_offset() call (since it is already called from
drm_gem_object_release())

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