diff options
author | Jordan Crouse <jcrouse@codeaurora.org> | 2019-05-07 12:02:07 -0600 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2019-06-18 13:46:43 -0700 |
commit | 295b22ae596c1d2dd8a4eb597d576f43acb4da6f (patch) | |
tree | d6b77710d2f77b8c7447569d56f290a20804674c /drivers/gpu/drm/msm/msm_gem.h | |
parent | bdad5c53e10b91adf1c30cde708411da2331ee11 (diff) | |
download | linux-295b22ae596c1d2dd8a4eb597d576f43acb4da6f.tar.gz linux-295b22ae596c1d2dd8a4eb597d576f43acb4da6f.tar.bz2 linux-295b22ae596c1d2dd8a4eb597d576f43acb4da6f.zip |
drm/msm: Pass the MMU domain index in struct msm_file_private
Pass the index of the MMU domain in struct msm_file_private instead
of assuming gpu->id throughout the submit path. This clears the way
to change ctx->aspace to a per-instance pagetable.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
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 812d1b1369a5..36aeb58c132b 100644 --- a/drivers/gpu/drm/msm/msm_gem.h +++ b/drivers/gpu/drm/msm/msm_gem.h @@ -141,6 +141,7 @@ void msm_gem_free_work(struct work_struct *work); struct msm_gem_submit { struct drm_device *dev; struct msm_gpu *gpu; + struct msm_gem_address_space *aspace; struct list_head node; /* node in ring submit list */ struct list_head bo_list; struct ww_acquire_ctx ticket; |