Skip to content

RFC Upstream DRM scheduler policy story

Matthew Brost intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/sched: Move schedule policy to scheduler / entitydrivers/gpu/drm/amd/amdgpu/amdgpu_device.c drivers/gpu/drm/etnaviv/etnaviv_sched.c drivers/gpu/drm/lima/lima_sched.c +8 more+76 -260 replies
2/3drm/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+123 -300 replies
3/3drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY modedrivers/gpu/drm/xe/xe_execlist.c drivers/gpu/drm/xe/xe_guc_submit.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-xe] [RFC PATCH 0/3] Upstream DRM scheduler policy story

I'm thinking we include these patches in addition to the 5 scheduler patches initially submitted in [1]. Also missing is passing in run_wq into the drm_sched_init functions, that will included by modifying [2].

Let's review these internally and reach a consensus if this what we want to send upstream for our DRM scheduler story wrt to a 1 to 1 relationship between scheduler and entity.

Another thing to consider is if we want to include [3] in our upstream DRM scheduler post for our long running workload story.

Matt

[1] https://patchwork.freedesktop.org/series/112188/
[2] https://patchwork.freedesktop.org/patch/515854/?series=112188&rev=1
[3] https://gitlab.freedesktop.org/drm/xe/kernel/-/merge_requests/338

Matthew Brost (3):
drm/sched: Move schedule policy to scheduler / entity drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode

 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  1 +
 drivers/gpu/drm/etnaviv/etnaviv_sched.c    |  3 +-
 drivers/gpu/drm/lima/lima_sched.c          |  3 +-
 drivers/gpu/drm/msm/msm_ringbuffer.c       |  3 +-
 drivers/gpu/drm/panfrost/panfrost_job.c    |  3 +-
 drivers/gpu/drm/scheduler/sched_entity.c   | 83 +++++++++++++++++----
 drivers/gpu/drm/scheduler/sched_fence.c    |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c     | 85 ++++++++++++++++++----
 drivers/gpu/drm/v3d/v3d_sched.c            | 15 ++--
 drivers/gpu/drm/xe/xe_execlist.c           |  1 +
 drivers/gpu/drm/xe/xe_guc_submit.c         |  3 +-
 include/drm/gpu_scheduler.h                | 52 +++++++++----
 12 files changed, 199 insertions(+), 55 deletions(-)
Signature · 1 line
2.34.1