diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-10-06 13:50:24 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-13 11:01:16 -0400 |
commit | f7fbf79fb5682db0865754765f10584245d291e8 (patch) | |
tree | ec917167699a9a79e20cdc27153b852456a14e8e /drivers/acpi/proc.c | |
parent | db9988906535aad9ab64f7e78ab7d52c0d0d2781 (diff) |
drm/amd/display: Catch errors from drm_atomic_helper_suspend()
drm_atomic_helper_suspend() can return PTR_ERR(), in which case the
error gets stored into `dm->cached_state`. This can cause failures
during resume. Catch the error during suspend and fail the suspend
instead.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2362
Acked-by: Christian König <christian.koenig@amd.com>
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/acpi/proc.c')
0 files changed, 0 insertions, 0 deletions