linux/drivers/gpu/drm/amd
Stylon Wang 118ad80d27 drm/amd/display: Properly reuse completion structure
commit 0cf8307adb upstream.

[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>
Cc: "Limonciello, Mario" <mario.limonciello@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-03 11:52:24 +01:00
..
acp
amdgpu drm/amd/amdgpu: fix warning during suspend 2023-02-22 12:59:47 +01:00
amdkfd drm/amdkfd: Fix NULL pointer error for GC 11.0.1 on mGPU 2023-02-01 08:34:32 +01:00
display drm/amd/display: Properly reuse completion structure 2023-03-03 11:52:24 +01:00
include drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback 2022-12-31 13:33:01 +01:00
pm drm/amdgpu: Enable vclk dclk node for gc11.0.3 2023-02-22 12:59:45 +01:00