Commit 924dda02 authored by Samuel Zhang's avatar Samuel Zhang Committed by Mario Limonciello
Browse files

drm/amdgpu: move GTT to shmem after eviction for hibernation



When hibernate with data center dGPUs, huge number of VRAM BOs evicted
to GTT and takes too much system memory. This will cause hibernation
fail due to insufficient memory for creating the hibernation image.

Move GTT BOs to shmem in KMD, then shmem to swap disk in kernel
hibernation code to make room for hibernation image.

Signed-off-by: default avatarSamuel Zhang <guoqing.zhang@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20250710062313.3226149-3-guoqing.zhang@amd.com


Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
parent 40b6a946
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment