diff options
| author | Mario Limonciello <[email protected]> | 2023-09-21 14:50:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-09-26 21:00:22 +0000 |
| commit | 7441ef0b3ebe11ee46db82f7f7eee0f68b35e192 (patch) | |
| tree | 947fe9e7524e82c053dce6757f3938b0e6680614 /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | |
| parent | drm/amd/display: set stream gamut remap matrix to MPC for DCN3+ (diff) | |
| download | kernel-7441ef0b3ebe11ee46db82f7f7eee0f68b35e192.tar.gz kernel-7441ef0b3ebe11ee46db82f7f7eee0f68b35e192.zip | |
drm/amd: Propagate failures in dc_set_power_state()
During the suspend process dc_set_power_state() will use kzalloc
to allocate memory, but this potentially fails with memory pressure.
If it fails, the suspend should be aborted.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2362
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Christian König <[email protected]>
Cc: [email protected]
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c')
0 files changed, 0 insertions, 0 deletions
