Skip to content

Commit 36bcc52

Browse files
drm/xe/guc: Fix for dead CT dump not re-arming
The state dump on a dead CT incident deliberately disarms itself after running. This is to prevent a long stream of errors causing continuous dumps. It was supposed to re-arm itself after a reset, however that was not happening. The re-arm flag was being set but the worker was not being run to process that flag. So fix that. Signed-off-by: John Harrison <[email protected]> Reviewed-by: Julia Filipchuk <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 5cc1ccb commit 36bcc52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/xe/xe_guc_ct.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,10 @@ int xe_guc_ct_enable(struct xe_guc_ct *ct)
470470
* after any existing dead state has been dumped.
471471
*/
472472
spin_lock_irq(&ct->dead.lock);
473-
if (ct->dead.reason)
473+
if (ct->dead.reason) {
474474
ct->dead.reason |= (1 << CT_DEAD_STATE_REARM);
475+
queue_work(system_unbound_wq, &ct->dead.worker);
476+
}
475477
spin_unlock_irq(&ct->dead.lock);
476478
#endif
477479

0 commit comments

Comments
 (0)