]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix USB4 Aux via DMUB terminate unexpectedly
authorJude Shih <shenshih@amd.com>
Wed, 29 Sep 2021 03:13:56 +0000 (11:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Oct 2021 19:53:01 +0000 (15:53 -0400)
commit4aac761467c5577a084fcc08c72a9f230c87705d
treeaba91092256a7b9b4214cf7f9aa9616793eb6a43
parentd9deb47e776301c29cc90ce23cf0edd02cb9e9fe
drm/amd/display: Fix USB4 Aux via DMUB terminate unexpectedly

[Why]
Condition variable sometimes terminated unexpectedly

[How]
Use wait_for_completion_timeout to avoid unexpected termination of CV

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Jude Shih <shenshih@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c