[PATCH 0/6] drm/msm: support arbitrary number of vma's per gem bo

Rob Clark robdclark at gmail.com
Tue Jun 13 18:49:42 UTC 2017


A step towards having per-process pagetables, we need to be able to map
a given buffer into multiple address spaces.

This is similar to Jordan's "drm/msm: get an iova from the address space
instead of an id" patch, except split up into smaller steps, and fixing
some issues with the non-IOMMU case.

Rob Clark (6):
  drm/msm/mdp5: kill pipe_lock
  drm/msm/mdp4+5: move aspace/id to base class
  drm/msm: pass address-space to _get_iova() and friends
  drm/msm: refactor how we handle vram carveout buffers
  drm/msm: support for an arbitrary number of address spaces
  drm/msm: remove address-space id

 drivers/gpu/drm/msm/adreno/a5xx_gpu.c     |   8 +-
 drivers/gpu/drm/msm/adreno/a5xx_power.c   |   5 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.c   |   6 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c        |  10 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_crtc.c  |   9 +-
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c   |  15 +--
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h   |   4 -
 drivers/gpu/drm/msm/mdp/mdp4/mdp4_plane.c |  15 ++-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c  |   6 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c   |  11 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.h   |   4 -
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c |  26 ++---
 drivers/gpu/drm/msm/msm_drv.c             |  13 ---
 drivers/gpu/drm/msm/msm_drv.h             |  33 +++---
 drivers/gpu/drm/msm/msm_fb.c              |  15 ++-
 drivers/gpu/drm/msm/msm_fbdev.c           |   4 +-
 drivers/gpu/drm/msm/msm_gem.c             | 184 ++++++++++++++++++++----------
 drivers/gpu/drm/msm/msm_gem.h             |   4 +-
 drivers/gpu/drm/msm/msm_gem_submit.c      |   4 +-
 drivers/gpu/drm/msm/msm_gpu.c             |   8 +-
 drivers/gpu/drm/msm/msm_gpu.h             |   1 -
 drivers/gpu/drm/msm/msm_kms.h             |   3 +
 22 files changed, 215 insertions(+), 173 deletions(-)

-- 
2.9.4



More information about the dri-devel mailing list