diff options
author | Stylon Wang <stylon.wang@amd.com> | 2023-01-10 14:38:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-24 13:26:25 -0500 |
commit | 0cf8307adbc6beb5ff3b8a76afedc6e4e0b536a9 (patch) | |
tree | c89165fc27ba8bf61eb767e227eefe964a2d1bc3 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
parent | c84ff24a77fa66aaf7c591cdf806456dcb5c2fcd (diff) |
drm/amd/display: Properly reuse completion structure
[Why]
Connecting displays to TBT3 docks often produces invalid
replies for DPIA AUX requests. It turns out the completion
structure was not re-initialized before reusing it, resulting
in immature wake up to completion.
[How]
Properly call reinit_completion() on reused completion structure.
Cc: stable@vger.kernel.org
Reviewed-by: Solomon Chiu <solomon.chiu@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions