]> Gentwo Git Trees - linux/.git/commit
drm/xe/pm: Hold the validation lock around evicting user-space bos for suspend
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 18 Sep 2025 14:28:47 +0000 (16:28 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 23 Sep 2025 12:42:57 +0000 (14:42 +0200)
commit1364a9ead45f62a49533331687dc894f5a057cfe
treeb6456e2b26feacec3bfa1f176d8128600b39054e
parentdf636bf2836644667c632864e25878bd928154f7
drm/xe/pm: Hold the validation lock around evicting user-space bos for suspend

During pm notifier eviction we may still race with validations.
Ensure those are blocked out during eviction to ensure we have
access to as much system memory as possible.

During the suspend operation itself, we run single-threaded so that
shouldn't be a problem.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://lore.kernel.org/r/20250918142848.21807-2-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_pm.c