Skip to content

drm/msm/gem: drm_exec conversion

Rob Clark amd-gfx dri-devel linux-arm-msm linux-pm lkml nouveau 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 3 repliesIn review
  2. v17 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/msm/gem: Remove "valid" trackingdrivers/gpu/drm/msm/msm_gem.h drivers/gpu/drm/msm/msm_gem_submit.c+8 -381 reply
2/7drm/msm/gem: Remove submit_unlock_unpin_bo()drivers/gpu/drm/msm/msm_gem_submit.c+2 -80 replies
3/7drm/msm/gem: Don't queue job to sched in error casesdrivers/gpu/drm/msm/msm_gem_submit.c+3 -00 replies
4/7drm/msm/gem: Split out submit_unpin_objects() helperdrivers/gpu/drm/msm/msm_gem.h drivers/gpu/drm/msm/msm_gem_submit.c drivers/gpu/drm/msm/msm_ringbuffer.c+22 -91 reply
5/7drm/msm/gem: Cleanup submit_cleanup_bo()drivers/gpu/drm/msm/msm_gem_submit.c+5 -101 reply
6/7drm/exec: Pass in initial # of objectsdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c +9 more+35 -280 replies
7/7drm/msm/gem: Convert to drm_execdrivers/gpu/drm/msm/Kconfig drivers/gpu/drm/msm/msm_gem.h drivers/gpu/drm/msm/msm_gem_submit.c+24 -1010 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchDmitry BaryshkovChristian König
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] drm/msm/gem: drm_exec conversion

From: Rob Clark <[email protected]>

Simplify the exec path (removing a legacy optimization) and convert to drm_exec. One drm_exec patch to allow passing in the expected # of GEM objects to avoid re-allocation.

I'd be a bit happier if I could avoid the extra objects table allocation in drm_exec in the first place, but wasn't really happy with any of the things I tried to get rid of that.

v2: updates in 6/7 and other nit-addressing

Rob Clark (7):
drm/msm/gem: Remove "valid" tracking drm/msm/gem: Remove submit_unlock_unpin_bo() drm/msm/gem: Don't queue job to sched in error cases drm/msm/gem: Split out submit_unpin_objects() helper drm/msm/gem: Cleanup submit_cleanup_bo() drm/exec: Pass in initial # of objects drm/msm/gem: Convert to drm_exec

 .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c  |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c        |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c  |   4 +-
 drivers/gpu/drm/amd/amdkfd/kfd_svm.c          |   2 +-
 drivers/gpu/drm/drm_exec.c                    |  13 +-
 drivers/gpu/drm/msm/Kconfig                   |   1 +
 drivers/gpu/drm/msm/msm_gem.h                 |  13 +-
 drivers/gpu/drm/msm/msm_gem_submit.c          | 199 +++++-------------
 drivers/gpu/drm/msm/msm_ringbuffer.c          |   3 +-
 drivers/gpu/drm/nouveau/nouveau_exec.c        |   2 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c        |   2 +-
 drivers/gpu/drm/tests/drm_exec_test.c         |  16 +-
 include/drm/drm_exec.h                        |   2 +-
 16 files changed, 92 insertions(+), 187 deletions(-)
Signature · 1 line
2.42.0