intel-xe.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Intel-xe] [RFC PATCH 0/3] Upstream DRM scheduler policy story
@ 2023-04-02  2:41 Matthew Brost
  2023-04-02  2:41 ` [Intel-xe] [RFC PATCH 1/3] drm/sched: Move schedule policy to scheduler / entity Matthew Brost
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Matthew Brost @ 2023-04-02  2:41 UTC (permalink / raw)
  To: intel-xe

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-04-02  3:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-02  2:41 [Intel-xe] [RFC PATCH 0/3] Upstream DRM scheduler policy story Matthew Brost
2023-04-02  2:41 ` [Intel-xe] [RFC PATCH 1/3] drm/sched: Move schedule policy to scheduler / entity Matthew Brost
2023-04-02  2:41 ` [Intel-xe] [RFC PATCH 2/3] drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy Matthew Brost
2023-04-02  2:41 ` [Intel-xe] [RFC PATCH 3/3] drm/xe: Use DRM_SCHED_POLICY_SINGLE_ENTITY mode Matthew Brost
2023-04-02  2:44 ` [Intel-xe] ✓ CI.Patch_applied: success for Upstream DRM scheduler policy story Patchwork
2023-04-02  2:45 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-04-02  2:49 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-04-02  3:09 ` [Intel-xe] ○ CI.BAT: info " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).