[Intel-xe] [PATCH 0/2] DRM scheduler changes for upstream

Matthew Brost matthew.brost at intel.com
Tue Aug 1 03:27:46 UTC 2023


Fix the DRM scheduler changed based on feedback from upstream RFC
feedback [1].

First patch addresses Boris's feedback [2] to not make the scheduler
work queue run in a infinite loop, rather have it requeue itself for
fairness.

Second patch addresse Luben's and Boris's feedback [3] to add a job to
the pending list before caling run_job() and kicking the TDR after. This
also includes a bit of restructure of the DRM scheduler helper
functions that will be broken out into a different patch but squashing
this into an earlier patch as fixup for easier repo maintainance.

Matt  

[1] https://patchwork.freedesktop.org/series/116055/
[2] https://patchwork.freedesktop.org/patch/530655/?series=116055&rev=1
[3] https://patchwork.freedesktop.org/patch/530652/?series=116055&rev=1

Matthew Brost (2):
  fixup! drm/sched: Submit job before starting TDR
  fixup! drm/sched: Convert drm scheduler to use a work queue rather
    than kthread

 drivers/gpu/drm/scheduler/sched_main.c | 87 +++++++++++++-------------
 1 file changed, 43 insertions(+), 44 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list