]> 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)
commit037ce877dbedfb18df550356ab6743c399d33273
treeaba91092256a7b9b4214cf7f9aa9616793eb6a43
parent9d4f3e360ecdc757b02041945349eecfb58d853f
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