aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-10-06 18:50:21 +0000
committerAlex Deucher <[email protected]>2023-10-13 15:00:58 +0000
commitcb11ca3233aa3303dc11dca25977d2e7f24be00f (patch)
treef5db9dae24f87c141651d6e4685a045e11547665 /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
parentdrm/amd: Evict resources during PM ops prepare() callback (diff)
downloadkernel-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/amdgpu_uvd.h')
0 files changed, 0 insertions, 0 deletions