]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Do not wake device during a GT reset
authorMatthew Brost <matthew.brost@intel.com>
Wed, 22 Oct 2025 00:55:37 +0000 (17:55 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 22 Oct 2025 16:10:06 +0000 (09:10 -0700)
commit480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4
treeb3c0cc06d3f35a8b91fc6901b3de73a2a608d9ad
parent1f1314e8e71385bae319e43082b798c11f6648bc
drm/xe: Do not wake device during a GT reset

Waking the device during a GT reset can lead to unintended memory
allocation, which is not allowed since GT resets occur in the reclaim
path. Prevent this by holding a PM reference while a reset is in flight.

Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20251022005538.828980-3-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_gt.c