]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Resume TDR after GT reset
authorMatthew Brost <matthew.brost@intel.com>
Wed, 24 Jul 2024 23:59:19 +0000 (16:59 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 3 Oct 2024 06:19:44 +0000 (01:19 -0500)
commit1b30f87e088b499eb74298db256da5c98e8276e2
tree8c25ff88e80763cb5373f98a1caf94d0a9551b6b
parent6ef5a04221aaeb858d1a825b2ecb7e200cac80f8
drm/xe: Resume TDR after GT reset

Not starting the TDR after GT reset on exec queue which have been
restarted can lead to jobs being able to be run forever. Fix this by
restarting the TDR.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240724235919.1917216-1-matthew.brost@intel.com
(cherry picked from commit 8ec5a4e5ce97d6ee9f5eb5b4ce4cfc831976fdec)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gpu_scheduler.c
drivers/gpu/drm/xe/xe_gpu_scheduler.h
drivers/gpu/drm/xe/xe_guc_submit.c