Re: [PATCH v5 1/5] drm/ttm: add new api ttm_device_prepare_hibernation()

2025-07-09 Thread Mario Limonciello
On 7/9/2025 6:05 AM, Samuel Zhang wrote: 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: Samuel Zhang Reviewed-by: Christian König --- drivers/gpu/drm

[PATCH v5 1/5] drm/ttm: add new api ttm_device_prepare_hibernation()

2025-07-09 Thread Samuel Zhang
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: Samuel Zhang Reviewed-by: Christian König --- drivers/gpu/drm/ttm/ttm_device.c | 23 +