[SRU][P/Q][PATCH 0/1] Fix GT0: Engine reset when suspend on Intel LNL

Aaron Ma aaron.ma at canonical.com
Mon Jun 16 07:13:41 UTC 2025


BugLink: https://bugs.launchpad.net/bugs/2114697

[Impact]
When stress s2idle on Lenovo ThinkPad Intel LNL,
sometimes the system encountered error:
xe 0000:00:02.0: [drm] GT0: Engine reset: engine_class=bcs, logical_mask: 0x2, guc_id=0
xe 0000:00:02.0: [drm] GT0: Timedout job: seqno=220338, lrc_seqno=220338, guc_id=0, flags=0x13 in no process [-1]
If execute suspend again the system will hang.

[Fix]
To prevent this try to call xe_sched_stop() to forcefully remove
anything on the pending_list that has already signalled, before we
re-submit.

[Test]
Tested on 3 platforms Intel LNL, suspend 90 times OK by:
$ sudo fwts s3 --s3-multiple=90
After it finished, no related error in log and the display OK.

[Where problems could occur]
It make break Intel XE driver.

Intel LNL is supported from oem-6.11 which is EOL,
so SRU for 6.14+ kernel versions.

Matthew Auld (1):
  drm/xe/sched: stop re-submitting signalled jobs

 drivers/gpu/drm/xe/xe_gpu_scheduler.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.43.0




More information about the kernel-team mailing list