]> www.infradead.org Git - users/willy/linux.git/commit
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>
Mon, 3 Dec 2018 13:53:28 +0000 (08:53 -0500)
commitd455c92d30c9eef804276278fc32e36138e90db1
tree23808c2b2def7eb256baa788649f21eca9badda0
parent39be22fe2bab3ef21b9899755c73fe2b3dbc1735
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