]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Don't change LRC ring head on job resubmission
authorMatthew Brost <matthew.brost@intel.com>
Wed, 8 Oct 2025 21:45:04 +0000 (14:45 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 9 Oct 2025 10:22:21 +0000 (03:22 -0700)
commit807c42dd8028d71222dfce035c2e87aaecbf623f
treeaa439fbbe0e23370422d13d7831a6d0346b1e652
parentb00d1e3fc8b7693c89ddae2ce34dc804eeb2ce37
drm/xe: Don't change LRC ring head on job resubmission

Now that we save the job's head during submission, it's no longer
necessary to adjust the LRC ring head during resubmission. Instead, a
software-based adjustment of the tail will overwrite the old jobs in
place. For some odd reason, adjusting the LRC ring head didn't work on
parallel queues, which was causing issues in our CI.

v5:
 - Add comment in guc_exec_queue_start explaning why the function works
   (Auld)
v7:
 - Only adjust first state on first unsignaled job (Auld)
v8:
 - Break unsignaled job handling to separate patch (Auld)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Tomasz Lis <tomasz.lis@intel.com>
Link: https://lore.kernel.org/r/20251008214532.3442967-7-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c