All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] drm/msm: Userspace allocated GPU addresses
@ 2022-03-30 20:47 ` Rob Clark
  0 siblings, 0 replies; 40+ messages in thread
From: Rob Clark @ 2022-03-30 20:47 UTC (permalink / raw)
  To: dri-devel
  Cc: freedreno, linux-arm-msm, Dmitry Baryshkov, Dmitry Osipenko,
	Rob Clark, Abhinav Kumar, Akhil P Oommen, Bjorn Andersson,
	Christian König, Dan Carpenter, Jonathan Marek,
	Jordan Crouse, open list, Vladimir Lypak, Yangtao Li

From: Rob Clark <robdclark@chromium.org>

The first six paches are various cleanups and simplifications.  The
next two get rid of redundant vma lookups in the submit and retire
paths.  Following that, fenced vma lets us indicate a fence value
following which the vma is no longer used, which is needed because
otherwise userspace could observe the signaled fence prior to
retire_submits() finishing.  (With userspace allocated GPU addresses
userspace is tracking when a buffer is no longer used and it's vma can
be deleted.)  And finally the last patch adds the new uabi for user-
space allocated iova.

v2: Fix inuse check in last patch, split GEM_WARN_ON() conversion to
    separate patch, and nits

Rob Clark (10):
  drm/msm/gem: Move prototypes
  drm/msm/gpu: Drop duplicate fence counter
  drm/msm/gem: Convert some missed GEM_WARN_ON()s
  drm/msm/gem: Split out inuse helper
  drm/msm/gem: Drop PAGE_SHIFT for address space mm
  drm/msm: Drop msm_gem_iova()
  drm/msm/gem: Rework vma lookup and pin
  drm/msm/gem: Split vma lookup and pin
  drm/msm/gem: Add fenced vma unpin
  drm/msm: Add a way for userspace to allocate GPU iova

 drivers/gpu/drm/msm/adreno/a5xx_gpu.c   |   2 +-
 drivers/gpu/drm/msm/adreno/a6xx_gmu.c   |   2 +-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c   |   2 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  14 ++-
 drivers/gpu/drm/msm/msm_drv.c           |  21 ++++
 drivers/gpu/drm/msm/msm_drv.h           |  23 ----
 drivers/gpu/drm/msm/msm_fb.c            |  16 ++-
 drivers/gpu/drm/msm/msm_fence.c         |   6 +-
 drivers/gpu/drm/msm/msm_fence.h         |   3 +
 drivers/gpu/drm/msm/msm_gem.c           | 151 ++++++++++++++----------
 drivers/gpu/drm/msm/msm_gem.h           |  47 +++++++-
 drivers/gpu/drm/msm/msm_gem_submit.c    |  17 ++-
 drivers/gpu/drm/msm/msm_gem_vma.c       |  59 ++++++---
 drivers/gpu/drm/msm/msm_gpu.c           |   8 +-
 drivers/gpu/drm/msm/msm_gpu.h           |   2 +-
 drivers/gpu/drm/msm/msm_ringbuffer.c    |  12 +-
 drivers/gpu/drm/msm/msm_ringbuffer.h    |   1 -
 include/uapi/drm/msm_drm.h              |   3 +
 18 files changed, 258 insertions(+), 131 deletions(-)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2022-03-31 20:49 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 20:47 [PATCH v2 00/10] drm/msm: Userspace allocated GPU addresses Rob Clark
2022-03-30 20:47 ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 01/10] drm/msm/gem: Move prototypes Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 02/10] drm/msm/gpu: Drop duplicate fence counter Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 03/10] drm/msm/gem: Convert some missed GEM_WARN_ON()s Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 04/10] drm/msm/gem: Split out inuse helper Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 05/10] drm/msm/gem: Drop PAGE_SHIFT for address space mm Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 06/10] drm/msm: Drop msm_gem_iova() Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 07/10] drm/msm/gem: Rework vma lookup and pin Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-31 18:27   ` Dmitry Osipenko
2022-03-31 18:27     ` Dmitry Osipenko
2022-03-31 18:28     ` Dmitry Osipenko
2022-03-31 18:28       ` Dmitry Osipenko
2022-03-31 18:58     ` Rob Clark
2022-03-31 18:58       ` Rob Clark
2022-03-31 20:49       ` Dmitry Osipenko
2022-03-31 20:49         ` Dmitry Osipenko
2022-03-30 20:47 ` [PATCH v2 08/10] drm/msm/gem: Split " Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 09/10] drm/msm/gem: Add fenced vma unpin Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-30 20:47 ` [PATCH v2 10/10] drm/msm: Add a way for userspace to allocate GPU iova Rob Clark
2022-03-30 20:47   ` Rob Clark
2022-03-31 18:52   ` Dmitry Osipenko
2022-03-31 18:52     ` Dmitry Osipenko
2022-03-31 18:53     ` Dmitry Osipenko
2022-03-31 18:53       ` Dmitry Osipenko
2022-03-31 19:02     ` Rob Clark
2022-03-31 19:02       ` Rob Clark
2022-03-31 19:41       ` Dmitry Osipenko
2022-03-31 19:41         ` Dmitry Osipenko
2022-03-31 19:54         ` Rob Clark
2022-03-31 19:54           ` Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.