mbox series

[0/2] drm/msm: clean up iommu interface a bit

Message ID 20221020193157.2147112-1-dmitry.baryshkov@linaro.org
Headers show
Series drm/msm: clean up iommu interface a bit | expand

Message

Dmitry Baryshkov Oct. 20, 2022, 7:31 p.m. UTC
This series started as an attempt to rework the drivers usage of IOMMU
domains. While the idea ended up to be wrong, these two provide a
sensibly looking cleanup.

Dmitry Baryshkov (2):
  drm/msm: remove duplicated code from a6xx_create_address_space
  drm/msm: move domain allocation into msm_iommu_new()

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c    |  7 +++---
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c    | 31 +++---------------------
 drivers/gpu/drm/msm/adreno/adreno_gpu.c  | 24 +++++++++---------
 drivers/gpu/drm/msm/adreno/adreno_gpu.h  |  2 +-
 drivers/gpu/drm/msm/disp/mdp4/mdp4_kms.c | 19 ++++++++-------
 drivers/gpu/drm/msm/msm_drv.c            | 18 ++++++--------
 drivers/gpu/drm/msm/msm_iommu.c          | 25 ++++++++++++++++---
 drivers/gpu/drm/msm/msm_mmu.h            |  4 ++-
 8 files changed, 63 insertions(+), 67 deletions(-)