Commit 0e9989be authored by Tejas Upadhyay's avatar Tejas Upadhyay Committed by Greg Kroah-Hartman
Browse files

drm/xe: Release guc ids before cancelling work



[ Upstream commit 10c79884 ]

A GT resets can be occurring in parallel while cancelling
work in async call  which can requeue these workers.
to avoid that, lets first release guc ids and then cancel
work so they don't requeued.

Fixes: 8ae8a2e8 ("drm/xe: Long running job update")
Fixes: 12c2f962 ("drm/xe: cancel pending job timer before freeing scheduler")
Signed-off-by: default avatarTejas Upadhyay <tejas.upadhyay@intel.com>
Suggested-by: default avatarMatthew Brost <matthew.brost@intel.com>
Reviewed-by: default avatarMatthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306131211.975503-1-tejas.upadhyay@intel.com


Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 8e8d76f6)
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 084c46a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment