aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-10-06 13:50:24 -0500
committerAlex Deucher <[email protected]>2023-10-13 11:01:16 -0400
commitf7fbf79fb5682db0865754765f10584245d291e8 (patch)
treeec917167699a9a79e20cdc27153b852456a14e8e /rust/helpers/helpers.c
parentdb9988906535aad9ab64f7e78ab7d52c0d0d2781 (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 <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions