summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/msm/msm_gem.h
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2018-11-08 01:35:48 +0300
committerRob Clark <robdclark@gmail.com>2018-12-11 21:05:31 +0300
commitc0ee9794693c1ff5bf540fc642fac954e39234a0 (patch)
tree1ca89be98fadad513d8abcf896abff892dd0879f /drivers/gpu/drm/msm/msm_gem.h
parent70dc51b447f570ba3881e289b8134d364977a6f0 (diff)
downloadlinux-c0ee9794693c1ff5bf540fc642fac954e39234a0.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_gem.h')
-rw-r--r--drivers/gpu/drm/msm/msm_gem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.h b/drivers/gpu/drm/msm/msm_gem.h
index ddaf8663dc95..a44847364504 100644
--- a/drivers/gpu/drm/msm/msm_gem.h
+++ b/drivers/gpu/drm/msm/msm_gem.h
@@ -41,6 +41,7 @@ struct msm_gem_vma {
uint64_t iova;
struct msm_gem_address_space *aspace;
struct list_head list; /* node in msm_gem_object::vmas */
+ bool mapped;
};
struct msm_gem_object {