Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Allow exec queue backend ops which issue message to be called multiple times
@ 2024-08-09 19:19 Matthew Brost
  2024-08-09 19:19 ` [PATCH 1/5] drm/xe: Add xe_sched_msg_lock/unlock helper Matthew Brost
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Matthew Brost @ 2024-08-09 19:19 UTC (permalink / raw)
  To: intel-xe; +Cc: francois.dugast

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

-- 
2.34.1


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

end of thread, other threads:[~2024-08-09 23:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 19:19 [PATCH 0/5] Allow exec queue backend ops which issue message to be called multiple times Matthew Brost
2024-08-09 19:19 ` [PATCH 1/5] drm/xe: Add xe_sched_msg_lock/unlock helper Matthew Brost
2024-08-09 20:43   ` Cavitt, Jonathan
2024-08-09 19:19 ` [PATCH 2/5] drm/xe: Reinit msg link when processing a message Matthew Brost
2024-08-09 20:44   ` Cavitt, Jonathan
2024-08-09 19:19 ` [PATCH 3/5] drm/xe: Add xe_sched_add_msg_locked helper Matthew Brost
2024-08-09 20:47   ` Cavitt, Jonathan
2024-08-09 19:19 ` [PATCH 4/5] drm/xe: Only enable scheduling upon resume if needed Matthew Brost
2024-08-09 20:48   ` Cavitt, Jonathan
2024-08-09 19:19 ` [PATCH 5/5] drm/xe: Allow suspend / resume to be safely called multiple times Matthew Brost
2024-08-09 21:02   ` Cavitt, Jonathan
2024-08-09 19:23 ` ✓ CI.Patch_applied: success for Allow exec queue backend ops which issue message to be " Patchwork
2024-08-09 19:23 ` ✓ CI.checkpatch: " Patchwork
2024-08-09 19:25 ` ✓ CI.KUnit: " Patchwork
2024-08-09 19:36 ` ✓ CI.Build: " Patchwork
2024-08-09 19:39 ` ✓ CI.Hooks: " Patchwork
2024-08-09 19:40 ` ✓ CI.checksparse: " Patchwork
2024-08-09 20:00 ` ✗ CI.BAT: failure " Patchwork
2024-08-09 23:40 ` ✗ CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox