]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Handle HPD_IRQ for internal link
authorSung-huai Wang <danny.wang@amd.com>
Wed, 10 Apr 2024 06:40:32 +0000 (14:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Aug 2024 13:34:12 +0000 (15:34 +0200)
commit3922a520bf3e1f41bbaf784ed36ca8be1ff27b1c
tree5aad1fdd9017e673a27ffe0ca9f626a3c10d471a
parent458bb83119dfee5d14c677f7846dd9363817006f
drm/amd/display: Handle HPD_IRQ for internal link

[ Upstream commit 239b31bd5c3fef3698440bf6436b2068c6bb08a3 ]

[Why]
TCON data is corrupted after electro static discharge test.
Once the TCON data get corrupted, they will get themselves
reset and send HPD_IRQ to source side.

[How]
Support HPD_IRQ for internal link, and restore the PSR/Replay setup.

Reviewed-by: Robin Chen <robin.chen@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Sung-huai Wang <danny.wang@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>
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.c