]> git.dujemihanovic.xyz Git - linux.git/commit
drm/xe/guc: Handle timing out of signaled jobs gracefully
authorMatthew Brost <matthew.brost@intel.com>
Fri, 23 Feb 2024 20:46:59 +0000 (12:46 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 26 Feb 2024 21:07:18 +0000 (13:07 -0800)
commite275d61c5f3ffc250b2a9601d36fbd11b4db774b
tree41297dabf66fa26b7fa65c968190dec278a0b127
parentba6bbdc6eaef92998ec7f323c9e1211d344d2556
drm/xe/guc: Handle timing out of signaled jobs gracefully

Timing out of signaled jobs can happen during regular operations (e.g.
an exec queue closed immediately after last fence signaled). The TDR can
pass the worker which free jobs. Rather than running through the TDR if
signaled job is found, simply free it without any debug messages.

Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reported-by: José Roberto de Souza <jose.souza@intel.com>
Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1271
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Tested-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240223204659.40750-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c