Skip to content

Attempt to fixup reset, wedge, unload corner cases

Matthew Brost intel-xe 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 10 repliesIn review
  2. v1 RFC3 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe: Always kill exec queues in xe_guc_submit_pause_abortdrivers/gpu/drm/xe/xe_guc_submit.c+1 -21 reply
2/3drm/xe: Forcefully tear down exec queues in GuC submit finidrivers/gpu/drm/xe/xe_guc_submit.c+20 -77 replies
3/3drm/xe: Trigger queue cleanup if not in wedged mode 2drivers/gpu/drm/xe/xe_guc_submit.c+19 -122 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchStuart Summers
1/3R-b
2/3
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Attempt to fixup reset, wedge, unload corner cases

We have several bug reports [1], [2], [3] describing failures in reset, wedge, and unload corner cases where memory is not properly freed or fences fail to signal. This patch attempts to address the issue by forcefully killing any remaining queues on driver unload and wedging the device if not in mode 2.

Matt

[1] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/5466
[2] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/5530
[3] https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/6029

Matthew Brost (3):
drm/xe: Always kill exec queues in xe_guc_submit_pause_abort drm/xe: Forcefully tear down exec queues in GuC submit fini drm/xe: Trigger queue cleanup if not in wedged mode 2

 drivers/gpu/drm/xe/xe_guc_submit.c | 61 ++++++++++++++++++++----------
 1 file changed, 40 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1