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)
commit9e3a50d23e31d9fad2fe47529b3668cc83323762
treeaba91092256a7b9b4214cf7f9aa9616793eb6a43
parentf6e03f80eb1f4ef134845c69729a72e706184bc2
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