diff options
| author | Mario Limonciello <[email protected]> | 2023-10-06 18:50:21 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-13 15:00:58 +0000 |
| commit | cb11ca3233aa3303dc11dca25977d2e7f24be00f (patch) | |
| tree | f5db9dae24f87c141651d6e4685a045e11547665 /drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | |
| parent | drm/amd: Evict resources during PM ops prepare() callback (diff) | |
| download | kernel-cb11ca3233aa3303dc11dca25977d2e7f24be00f.tar.gz kernel-cb11ca3233aa3303dc11dca25977d2e7f24be00f.zip | |
drm/amd: Add concept of running prepare_suspend() sequence for IP blocks
If any IP blocks allocate memory during their hw_fini() sequence
this can cause the suspend to fail under memory pressure. Introduce
a new phase that IP blocks can use to allocate memory before suspend
starts so that it can potentially be evicted into swap instead.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c')
0 files changed, 0 insertions, 0 deletions
