/amd: Move evict resources suspend step to
prepare()
If the system is under high memory pressure, the resources may need to be
evicted into swap instead. If the storage backing for swap is offlined during
the suspend() step then such a call may fail.
So instead move this step into prepare
[AMD Official Use Only - General]
> -Original Message-
> From: amd-gfx On Behalf Of Mario
> Limonciello
> Sent: Monday, October 2, 2023 6:45 PM
> To: amd-gfx@lists.freedesktop.org
> Cc: Wentland, Harry ; Limonciello, Mario
>
> Subject: [PATCH v2 2/3] drm/a
If the system is under high memory pressure, the resources may need
to be evicted into swap instead. If the storage backing for swap
is offlined during the suspend() step then such a call may fail.
So instead move this step into prepare(), while leaving all other
steps that put the GPU into a low