Skip to content

Scheduler changes for upstreaming

Christopher Snowhill intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest8 patches 0 repliesNew

Patches in v2 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+17 -130 replies
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+74 -270 replies
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+115 -220 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+135 -90 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+44 -70 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by.

PatchChristopher SnowhillThomas HellströmRodrigo Vivi
SeriesRevised-by
1/8
2/8
3/8
4/8R-b
5/8
6/8R-b
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

From: Matthew Brost <[email protected]>
Cc: Matthew Brost <[email protected]>

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

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

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       |  5 +-
 drivers/gpu/drm/panfrost/panfrost_job.c    |  5 +-
 drivers/gpu/drm/scheduler/sched_entity.c   | 87 +++++++++++++++----
 drivers/gpu/drm/scheduler/sched_fence.c    |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c     | 88 ++++++++++++++++---
 drivers/gpu/drm/v3d/v3d_sched.c            | 25 +++---
 drivers/gpu/drm/xe/xe_bo.c                 | 32 ++++++-
 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         | 99 +++++++++++++++++++---
 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, 391 insertions(+), 80 deletions(-)
Signature · 1 line
2.40.1