drm/msm: Pass the MMU domain index in struct msm_file_private
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 7 May 2019 18:02:07 +0000 (12:02 -0600)
committerRob Clark <robdclark@chromium.org>
Tue, 18 Jun 2019 20:46:43 +0000 (13:46 -0700)
commit295b22ae596c1d2dd8a4eb597d576f43acb4da6f
treed6b77710d2f77b8c7447569d56f290a20804674c
parentbdad5c53e10b91adf1c30cde708411da2331ee11
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>
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gem_submit.c
drivers/gpu/drm/msm/msm_gpu.c