diff options
| author | Satyanarayana K V P <satyanarayana.k.v.p@intel.com> | 2026-10-13 15:24:19 +0000 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2026-11-09 19:17:54 +1000 |
| commit | 78945c8c44bb2cfd6e5d2f762535efce0cefb086 (patch) | |
| tree | 3c7cb046f311c0f109807e2d805769d57f7440c1 /tools/perf/scripts/python | |
| parent | db58638d5d0531beafafa498cffa516779876ee5 (diff) | |
drm/xe/guc: Protect timeout handling from device unplug
The GuC scheduler timeout callback accesses device and GT state while
handling a timed-out job. Guard the callback with drm_dev_enter() and
drm_dev_exit() so device unplug waits for in-flight timeout handling.
If unplug has already started, mark the job with -ENODEV and return it
to the scheduler for cleanup.
Fixes: 6eb2aad402cc ("drm/xe: Move hw_engine_fini to devm managed")
Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Assisted-by: LLM
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20261013152417.3189567-7-satyanarayana.k.v.p@intel.com
(cherry picked from commit 3e9a95f3df5b0f9de163c5ee4e4e287750ef9655)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
