summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorRaag Jadav <raag.jadav@intel.com>2026-10-22 10:42:25 +0530
committerDave Airlie <airlied@redhat.com>2026-11-09 19:17:57 +1000
commit8801081e5991e4939dc2d04564c46f33c3efe18d (patch)
treee5e56520cc5e061b08e19a47287407d76acbf454 /rust/kernel/alloc
parenteeae08f98bda4350baa5a76f37b23fab4fa426f7 (diff)
drm/xe/gt: Use GT ordered workqueue for wedging
Currently, xe_gt_declare_wedged() stops GuC CT and initiates exec queue teardown synchronously. This can result in tdr timeout in cases where the device is declared wedged while jobs are still in-flight. Introduce a worker for GT specific wedge handling and queue the teardown on GT ordered workqueue, so we don't disrupt the scheduler while jobs are still in-flight. While at it, introduce for_each_initialized_gt() macro and use it for wedging GT. This helps avoid races in case the device is declared wedged in probe sequence before GT is initialized. Fixes: c9474b726b93 ("drm/xe: Wedge the entire device") Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20261022051303.282805-2-raag.jadav@intel.com Signed-off-by: Matt Roper <matthew.d.roper@intel.com> (cherry picked from commit 913d394eb2be6536c66995affde44255d1e36493) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions