Skip to content

Scheduler changes for upstreaming

Matthew Brost intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 4 repliesIn review
  2. v38 patches 8 repliesSuperseded
  3. v28 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches6 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fixup! drm/sched: Convert drm scheduler to use a work queue rather than kthreaddrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/etnaviv/etnaviv_sched.c drivers/gpu/drm/lima/lima_sched.c +8 more+20 -151 reply
2/8drm/sched: Move schedule policy to schedulerdrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/etnaviv/etnaviv_sched.c drivers/gpu/drm/lima/lima_sched.c +8 more+72 -271 reply
3/8drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policydrivers/gpu/drm/scheduler/sched_entity.c drivers/gpu/drm/scheduler/sched_fence.c drivers/gpu/drm/scheduler/sched_main.c +1 more+118 -240 replies
4/8drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY modedrivers/gpu/drm/xe/xe_execlist.c drivers/gpu/drm/xe/xe_guc_submit.c+3 -30 replies
5/8drm/xe: Long running job updatedrivers/gpu/drm/xe/xe_engine.c drivers/gpu/drm/xe/xe_engine.h drivers/gpu/drm/xe/xe_exec.c +3 more+134 -132 replies
6/8drm/xe: Ensure LR engines are not persistentdrivers/gpu/drm/xe/xe_engine.c+3 -10 replies
7/8drm/xe: Only try to lock external BOs in VM binddrivers/gpu/drm/xe/xe_vm.c+5 -30 replies
8/8drm/xe: VM LRU bulk movedrivers/gpu/drm/xe/xe_bo.c drivers/gpu/drm/xe/xe_bo.h drivers/gpu/drm/xe/xe_dma_buf.c +3 more+43 -70 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchRodrigo ViviThomas Hellström
1/8A-b R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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

Read the v4 thread

Cover letter [Intel-xe] [PATCH v4 0/8] Scheduler changes for upstreaming

First 8 patches of the follow series with comments addressed:
https://patchwork.freedesktop.org/series/117156/

A follow up with submit a GuC doorbell series and a GPUVA series.

v2: Fix 'Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy' rebase, checkpatch, update VM LRU bulk move removal to be in GEM free callback rather than close
v3: Rebase, move VM LRU bulk move removal back to close
v4: Address latest round of comments

Matthew Brost (8):
fixup! drm/sched: Convert drm scheduler to use a work queue rather
than kthread
drm/sched: Move schedule policy to scheduler
drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode
drm/xe: Long running job update
drm/xe: Ensure LR engines are not persistent
drm/xe: Only try to lock external BOs in VM bind drm/xe: VM LRU bulk move

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |   3 +-
 drivers/gpu/drm/etnaviv/etnaviv_sched.c    |   5 +-
 drivers/gpu/drm/lima/lima_sched.c          |   5 +-
 drivers/gpu/drm/msm/msm_ringbuffer.c       |   7 +-
 drivers/gpu/drm/panfrost/panfrost_job.c    |   5 +-
 drivers/gpu/drm/scheduler/sched_entity.c   |  85 ++++++++++++++---
 drivers/gpu/drm/scheduler/sched_fence.c    |   2 +-
 drivers/gpu/drm/scheduler/sched_main.c     |  90 +++++++++++++++---
 drivers/gpu/drm/v3d/v3d_sched.c            |  25 +++--
 drivers/gpu/drm/xe/xe_bo.c                 |  31 ++++++-
 drivers/gpu/drm/xe/xe_bo.h                 |   4 +-
 drivers/gpu/drm/xe/xe_devcoredump_types.h  |   1 +
 drivers/gpu/drm/xe/xe_dma_buf.c            |   2 +-
 drivers/gpu/drm/xe/xe_engine.c             |  36 +++++++-
 drivers/gpu/drm/xe/xe_engine.h             |   4 +
 drivers/gpu/drm/xe/xe_exec.c               |  14 +++
 drivers/gpu/drm/xe/xe_execlist.c           |   3 +-
 drivers/gpu/drm/xe/xe_guc_engine_types.h   |   2 +
 drivers/gpu/drm/xe/xe_guc_submit.c         | 102 +++++++++++++++++----
 drivers/gpu/drm/xe/xe_trace.h              |   5 +
 drivers/gpu/drm/xe/xe_vm.c                 |  12 ++-
 drivers/gpu/drm/xe/xe_vm_types.h           |   3 +
 include/drm/gpu_scheduler.h                |  29 ++++--
 23 files changed, 390 insertions(+), 85 deletions(-)
Signature · 1 line
2.34.1