]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Convert pinned suspend eviction for exhaustive eviction
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 8 Sep 2025 10:12:46 +0000 (12:12 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 10 Sep 2025 07:16:10 +0000 (09:16 +0200)
commit844150c255c94230aec41f88db8e2875cb97439e
treeaf8c46537ceded1fa29bed0834b60134875279b4
parent1f1541720f651727591411e68c16299de0447b43
drm/xe: Convert pinned suspend eviction for exhaustive eviction

Pinned suspend eviction and preparation for eviction validates
system memory for eviction buffers. Do that under a
validation exclusive lock to avoid interfering with other
processes validating system graphics memory.

v2:
- Avoid gotos from within xe_validation_guard().
- Adapt to signature change of xe_validation_guard().

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250908101246.65025-14-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_bo.c