]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Pre-allocate system memory for pinned external bos in the pm notfier
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 18 Sep 2025 09:22:06 +0000 (11:22 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 22 Sep 2025 12:30:06 +0000 (14:30 +0200)
commit8b3dfa6fcf2603ef24cd501433f26f5d184d3732
tree0e272c463b6029f8b5be23166bca53fcb2ae010e
parent9e69bafece43dcefec864f00b3ec7e088aa7fcbc
drm/xe: Pre-allocate system memory for pinned external bos in the pm notfier

Similarly to what we do for other pinned bos, pre-allocate
system memory for pinned external bos in the pm notifier,
where swapping is still possible.

This hasn't been needed until now when we're about to allow
pinning of exernal VRAM bos.

Cc: Matthew Auld <matthew.auld@intel.com>
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/20250918092207.54472-3-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/xe_bo_evict.c