Skip to content

Allow exec queue backend ops which issue message to be called multiple times

Matthew Brost intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/xe: Add xe_sched_msg_lock/unlock helperdrivers/gpu/drm/xe/xe_gpu_scheduler.c drivers/gpu/drm/xe/xe_gpu_scheduler.h+16 -61 reply
2/5drm/xe: Reinit msg link when processing a messagedrivers/gpu/drm/xe/xe_gpu_scheduler.c+1 -11 reply
3/5drm/xe: Add xe_sched_add_msg_locked helperdrivers/gpu/drm/xe/xe_gpu_scheduler.c drivers/gpu/drm/xe/xe_gpu_scheduler.h+10 -11 reply
4/5drm/xe: Only enable scheduling upon resume if neededdrivers/gpu/drm/xe/xe_guc_submit.c+4 -21 reply
5/5drm/xe: Allow suspend / resume to be safely called multiple timesdrivers/gpu/drm/xe/xe_guc_submit.c+33 -71 reply

Reviews trailers per patch

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

PatchJonathan Cavitt
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

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

Read the v1 thread

Cover letter [PATCH 0/5] Allow exec queue backend ops which issue message to be called multiple times

With [1] it is possible for suspend / resume exec queue backend op to be called multiple times when error occur (e.g. user interrupts), make this safe.

Matt

[1] https://patchwork.freedesktop.org/series/136192/

Matthew Brost (5):
drm/xe: Add xe_sched_msg_lock/unlock helper
drm/xe: Reinit msg link when processing a message drm/xe: Add xe_sched_add_msg_locked helper
drm/xe: Only enable scheduling upon resume if needed drm/xe: Allow suspend / resume to be safely called multiple times

 drivers/gpu/drm/xe/xe_gpu_scheduler.c | 23 +++++++++-----
 drivers/gpu/drm/xe/xe_gpu_scheduler.h | 12 +++++++
 drivers/gpu/drm/xe/xe_guc_submit.c    | 46 +++++++++++++++++++++------
 3 files changed, 64 insertions(+), 17 deletions(-)
Signature · 1 line
2.34.1