diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2018-11-07 15:35:48 -0700 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-12-11 13:05:31 -0500 |
commit | c0ee9794693c1ff5bf540fc642fac954e39234a0 (patch) | |
tree | 1ca89be98fadad513d8abcf896abff892dd0879f /drivers/gpu/drm/msm/msm_gem.h | |
parent | 70dc51b447f570ba3881e289b8134d364977a6f0 (diff) | |
download | linux-c0ee9794693c1ff5bf540fc642fac954e39234a0.tar.gz linux-c0ee9794693c1ff5bf540fc642fac954e39234a0.tar.bz2 linux-c0ee9794693c1ff5bf540fc642fac954e39234a0.zip |
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.h | 1 |
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 { |