diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-10-06 13:50:22 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-13 11:01:04 -0400 |
commit | db9988906535aad9ab64f7e78ab7d52c0d0d2781 (patch) | |
tree | f27f0e9c7ac1ae89fed525a48a6834abcdf36e35 /drivers/ata/pata_artop.c | |
parent | cb11ca3233aa3303dc11dca25977d2e7f24be00f (diff) |
drm/amd: Split up UVD suspend into prepare and suspend steps
amdgpu_uvd_suspend() allocates memory and copies objects into that
allocated memory. This fails under memory pressure. Instead move
majority of this code into a prepare step when swap can still be
allocated.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/ata/pata_artop.c')
0 files changed, 0 insertions, 0 deletions