diff options
author | Stylon Wang <stylon.wang@amd.com> | 2023-01-10 14:38:33 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-03 11:52:24 +0100 |
commit | 118ad80d27d938868299ef184f7483b21f011f0b (patch) | |
tree | 4353fac6eea3a7271703d95de4f0dddd6b05178b /fs/inode.c | |
parent | c9d3eb6151b3c6d0c777f1b4586d90db0ae6ebc3 (diff) | |
download | linux-stable-118ad80d27d938868299ef184f7483b21f011f0b.tar.gz linux-stable-118ad80d27d938868299ef184f7483b21f011f0b.tar.bz2 linux-stable-118ad80d27d938868299ef184f7483b21f011f0b.zip |
drm/amd/display: Properly reuse completion structure
commit 0cf8307adbc6beb5ff3b8a76afedc6e4e0b536a9 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>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions