]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amd/display: Fix DPIA outbox timeout after GPU reset
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 8 Nov 2021 21:49:48 +0000 (16:49 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:49:02 +0000 (09:49 +0100)
commitb5ce6c8982c56d8db0891a60f834424b04597034
tree9382a5008c7e69056cc1fd66c80de7060b5def22
parenta48da9c7ee999ad278dade5bb51a0019fbc24552
drm/amd/display: Fix DPIA outbox timeout after GPU reset

BugLink: https://bugs.launchpad.net/bugs/1953370
[ Upstream commit 6eff272dbee7ad444c491c9a96d49e78e91e2161 ]

[Why]
The HW interrupt gets disabled after GPU reset so we don't receive
notifications for HPD or AUX from DMUB - leading to timeout and
black screen with (or without) DPIA links connected.

[How]
Re-enable the interrupt after GPU reset like we do for the other
DC interrupts.

Fixes: 81927e2808be ("drm/amd/display: Support for DMUB AUX")
Reviewed-by: Jude Shih <Jude.Shih@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c