summaryrefslogtreecommitdiff
path: root/include/drm/xe_pciids.h
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2023-08-03 20:38:50 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:39:29 +0300
commit31b57683de2c98ac6a3de7223ef0afd47731265c (patch)
treec8cb747a65794fe835f91ea8ca2d7f778155930a /include/drm/xe_pciids.h
parentd8b4494bf184d43295b89156d7656d69f931e418 (diff)
downloadlinux-31b57683de2c98ac6a3de7223ef0afd47731265c.tar.xz
drm/xe/guc_submit: prevent repeated unregister
It seems that various things can trigger the lr cleanup worker, including CAT error, engine reset and destroying the actual engine, so seems plausible to end up triggering the worker more than once in some cases. If that does happen we can race with an ongoing engine deregister before it has completed, thus triggering it again and also changing the state back into pending_disable. Checking if the engine has been marked as destroyed looks like it should prevent this. Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/xe_pciids.h')
0 files changed, 0 insertions, 0 deletions