Commit 40b6a946 authored by Samuel Zhang's avatar Samuel Zhang Committed by Mario Limonciello
Browse files

drm/ttm: add new api ttm_device_prepare_hibernation()



This new api is used for hibernation to move GTT BOs to shmem after
VRAM eviction. shmem will be flushed to swap disk later to reduce
the system memory usage for hibernation.

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-2-guoqing.zhang@amd.com


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