]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Only toggle scheduling in TDR if GuC is running
authorMatthew Brost <matthew.brost@intel.com>
Sat, 10 Jan 2026 01:27:35 +0000 (17:27 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 10 Jan 2026 21:39:52 +0000 (13:39 -0800)
commitdd1ef5e2456558876244795bb22a4d90cb24f160
tree1f0e4a5ec8779cf64751ae8858a6fa3b4b40dd34
parent95f27831ee3c6afc2e3b7386c32545eba1f096d7
drm/xe: Only toggle scheduling in TDR if GuC is running

If the firmware is not running during TDR (e.g., when the driver is
unloading), there's no need to toggle scheduling in the GuC. In such
cases, skip this step.

v4:
 - Bail on wait UC not running (Niranjana)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
Link: https://patch.msgid.link/20260110012739.2888434-4-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_guc_submit.c