diff options
| author | Varun Gupta <varun.gupta@intel.com> | 2026-09-30 15:10:35 +0530 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-10-01 08:46:22 -0400 |
| commit | 123c1f04303697ecf156642ee3376767c7a81930 (patch) | |
| tree | 6ee804efc57270a519432a5ca945e8a227afdf11 /scripts/objdiff | |
| parent | db4b00bd956adbf61403babe5ccfa22c3b88e8c1 (diff) | |
| download | linux-next-123c1f04303697ecf156642ee3376767c7a81930.tar.gz linux-next-123c1f04303697ecf156642ee3376767c7a81930.zip | |
drm/xe/guc: Rewind the LRC ring head when replaying a ULLS job
On GT reset replay, guc_exec_queue_start() rewinds the software ring
tail to the first unsignalled job's head and sets the LRC tail to the
LRC head. This assumes the saved head has not passed an unstarted job,
which holds for ordinary submission as the CS cannot run past a job it
has not executed.
A ULLS job's slot is covered by a tail its predecessor published from
within the ring, so the CS can consume the slot and idle without the
job having run, leaving the saved head past it. On replay the job is
re-emitted behind the head, the context restarts with head == tail and
the job never starts.
Rewind the LRC head to the job's head as well when the first pending
job is a ULLS job, so the re-emitted job is ahead of it. Non-ULLS
replay is unchanged.
Fixes: 40c756bdbbee ("drm/xe: Add ULLS migration job support to GuC submission")
Cc: Matthew Brost <matthew.brost@intel.com>
Assisted-by: LLM
Signed-off-by: Varun Gupta <varun.gupta@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260930094031.3365707-8-varun.gupta@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
