[PATCH v1 0/3] drm/msm: Cleanups ahead of per-instance pagetables

Jordan Crouse
2020-05-22T22:03:30Z

These are three cleanup and reorganization patches that were originally
part of one of my many per-instance pagetable stacks [1] [2] but make life
better in general and can stand on their own. Send them now to get them
out of my other stack and make that processs ever so easier.

[1] https://patchwork.kernel.org/patch/11355255/
[2] https://patchwork.kernel.org/patch/11355259/

Jordan Crouse (3):
drm/msm: Attach the IOMMU device during initialization
drm/msm: Refactor address space initialization
drm/msm: Update the MMU helper function APIs

drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 16 ++++++++
drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 1 +
drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 1 +
drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 1 +
drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 1 +
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 23 ++++++++---
drivers/gpu/drm/msm/adreno/adreno_gpu.h | 8 ++++
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 18 +++------
drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 18 ++++-----
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 4 --
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 18 ++++-----
drivers/gpu/drm/msm/msm_drv.h | 8 +---
drivers/gpu/drm/msm/msm_gem_vma.c | 36 +++--------------
drivers/gpu/drm/msm/msm_gpu.c | 49 +-----------------------
drivers/gpu/drm/msm/msm_gpu.h | 4 +-
drivers/gpu/drm/msm/msm_gpummu.c | 10 +----
drivers/gpu/drm/msm/msm_iommu.c | 15 ++++++--
drivers/gpu/drm/msm/msm_mmu.h | 5 +--
18 files changed, 95 insertions(+), 141 deletions(-)

--
2.17.1