]> Gentwo Git Trees - 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)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 29 Oct 2025 18:43:30 +0000 (11:43 -0700)
commitb3fbda1a630a9439c885b2a5dc5230cc49a87e9e
tree0bdf4f63d1af0e135efa61eefe0989bec7da515a
parentedce042da7984586ea5c7ed18ea5f58002afb969
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
(cherry picked from commit 480b358e7d8ef69fd8f1b0cad6e07c7d70a36ee4)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gt.c