OSDN Git Service

drm/msm: Split msm_gem_get_iova into two steps
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 7 Nov 2018 22:35:48 +0000 (15:35 -0700)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:05:31 +0000 (13:05 -0500)
commitc0ee9794693c1ff5bf540fc642fac954e39234a0
tree1ca89be98fadad513d8abcf896abff892dd0879f
parent70dc51b447f570ba3881e289b8134d364977a6f0
drm/msm: Split msm_gem_get_iova into two steps

Split the operation of msm_gem_get_iova into two operations:
1) allocate an iova and 2) map (pin) the backing memory int the
iommu. This is the first step toward allowing memory pinning
to occur independently of the iova management.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gem_vma.c