All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] drm/scheduler dependency tracking
@ 2021-07-02 21:38 Daniel Vetter
  2021-07-02 21:38   ` Daniel Vetter
                   ` (10 more replies)
  0 siblings, 11 replies; 58+ messages in thread
From: Daniel Vetter @ 2021-07-02 21:38 UTC (permalink / raw)
  To: DRI Development; +Cc: Daniel Vetter

Hi all

2nd major round of my scheduler dependency handling patches.

Emma noticed a big fumble in that I just didn't bother cleaning up between
drm_sched_job_init() and drm_sched_job_arm(). This here should fix it now.

Review and testing very much welcome.

Cheers, Daniel

Daniel Vetter (11):
  drm/sched: Split drm_sched_job_init
  drm/sched: Add dependency tracking
  drm/sched: drop entity parameter from drm_sched_push_job
  drm/panfrost: use scheduler dependency tracking
  drm/lima: use scheduler dependency tracking
  drm/v3d: Move drm_sched_job_init to v3d_job_init
  drm/v3d: Use scheduler dependency handling
  drm/etnaviv: Use scheduler dependency handling
  drm/gem: Delete gem array fencing helpers
  drm/sched: Don't store self-dependencies
  drm/sched: Check locking in drm_sched_job_await_implicit

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c       |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c      |   4 +-
 drivers/gpu/drm/drm_gem.c                    |  96 -----------
 drivers/gpu/drm/etnaviv/etnaviv_gem.h        |   5 +-
 drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c |  32 ++--
 drivers/gpu/drm/etnaviv/etnaviv_sched.c      |  63 +-------
 drivers/gpu/drm/etnaviv/etnaviv_sched.h      |   3 +-
 drivers/gpu/drm/lima/lima_gem.c              |   7 +-
 drivers/gpu/drm/lima/lima_sched.c            |  28 +---
 drivers/gpu/drm/lima/lima_sched.h            |   6 +-
 drivers/gpu/drm/panfrost/panfrost_drv.c      |  16 +-
 drivers/gpu/drm/panfrost/panfrost_job.c      |  39 +----
 drivers/gpu/drm/panfrost/panfrost_job.h      |   5 +-
 drivers/gpu/drm/scheduler/sched_entity.c     |  30 ++--
 drivers/gpu/drm/scheduler/sched_fence.c      |  17 +-
 drivers/gpu/drm/scheduler/sched_main.c       | 158 ++++++++++++++++++-
 drivers/gpu/drm/v3d/v3d_drv.h                |   6 +-
 drivers/gpu/drm/v3d/v3d_gem.c                | 115 ++++++--------
 drivers/gpu/drm/v3d/v3d_sched.c              |  44 +-----
 include/drm/drm_gem.h                        |   5 -
 include/drm/gpu_scheduler.h                  |  41 ++++-
 21 files changed, 330 insertions(+), 394 deletions(-)

-- 
2.32.0.rc2


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