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

Matthew Brost matthew.brost at intel.com
Fri Aug 9 19:19:24 UTC 2024


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



More information about the Intel-xe mailing list