diff options
author | Rob Clark <robdclark@gmail.com> | 2017-06-13 17:07:08 +0200 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-06-16 17:16:04 +0200 |
commit | 8bdcd949bbe7e7f9e60a3564baa600884f8f4ba7 (patch) | |
tree | 3533095936dfa62a37977c8b9a877443fced303e /drivers/gpu/drm/msm/msm_gem.h | |
parent | drm/msm/mdp4+5: move aspace/id to base class (diff) | |
download | linux-8bdcd949bbe7e7f9e60a3564baa600884f8f4ba7.tar.xz linux-8bdcd949bbe7e7f9e60a3564baa600884f8f4ba7.zip |
drm/msm: pass address-space to _get_iova() and friends
No functional change, that will come later. But this will make it
easier to deal with dynamically created address spaces (ie. per-
process pagetables for gpu).
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 1b4cf20043ea..4b4b352b5718 100644 --- a/drivers/gpu/drm/msm/msm_gem.h +++ b/drivers/gpu/drm/msm/msm_gem.h @@ -33,6 +33,7 @@ struct msm_gem_address_space { struct drm_mm mm; struct msm_mmu *mmu; struct kref kref; + int id; /* temporary */ }; struct msm_gem_vma { |