diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-10-06 13:50:25 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-13 11:01:24 -0400 |
commit | 06ad7e16425619a4a77154c2e85bededb3e04a4f (patch) | |
tree | cc30491ef5978a2ea8463f89a68d6058620786f8 /drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c | |
parent | f7fbf79fb5682db0865754765f10584245d291e8 (diff) |
drm/amd/display: Destroy DC context while keeping DML and DML2
If there is memory pressure at suspend time then dynamically
allocating a large structure as part of DC suspend code will
fail.
Instead re-use the same structures and clear all members except
those that should be maintained.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2362
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c')
0 files changed, 0 insertions, 0 deletions