AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/msm/gem: drm_exec conversion
@ 2023-10-27 16:58 Rob Clark
  2023-10-27 16:58 ` [PATCH 6/7] drm/exec: Pass in initial # of objects Rob Clark
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Clark @ 2023-10-27 16:58 UTC (permalink / raw)
  To: dri-devel
  Cc: Rafael J. Wysocki,
	open list:DRM DRIVER FOR NVIDIA GEFORCE/QUADRO GPUS,
	Mario Limonciello, Marijn Suijten, Rob Clark, Guchun Chen,
	Shashank Sharma, open list:SUSPEND TO RAM,
	open list:RADEON and AMDGPU DRM DRIVERS, Dong Chenchen,
	Luben Tuikov, Philip Yang, Srinivasan Shanmugam,
	Arunpravin Paneer Selvam, linux-arm-msm, James Zhu, Sean Paul,
	Jack Xiao, Jonathan Kim, freedreno, Felix Kuehling, open list,
	Alex Deucher, Andrew Morton, Lang Yu, Christian König

From: Rob Clark <robdclark@chromium.org>

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.

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

 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/drm_exec.c              |  15 +-
 drivers/gpu/drm/msm/Kconfig             |   1 +
 drivers/gpu/drm/msm/msm_gem.h           |  13 +-
 drivers/gpu/drm/msm/msm_gem_submit.c    | 197 ++++++------------------
 drivers/gpu/drm/msm/msm_ringbuffer.c    |   3 +-
 drivers/gpu/drm/nouveau/nouveau_exec.c  |   2 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c  |   2 +-
 include/drm/drm_exec.h                  |   2 +-
 12 files changed, 79 insertions(+), 170 deletions(-)

-- 
2.41.0


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

end of thread, other threads:[~2023-10-30 18:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-27 16:58 [PATCH 0/7] drm/msm/gem: drm_exec conversion Rob Clark
2023-10-27 16:58 ` [PATCH 6/7] drm/exec: Pass in initial # of objects Rob Clark
2023-10-30  8:05   ` Christian König
2023-10-30 13:38     ` Rob Clark
2023-10-30 16:01       ` Christian König
2023-10-30 18:26         ` Rob Clark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox