]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Defer DIG FIFO disable after VID stream enable
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 6 Dec 2022 21:10:22 +0000 (16:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:55 +0000 (09:33 +0100)
commita0bff9e93f5e3192f5489d9f79289806c495ab03
treeea7e34c66f4aabf289370072f57d762ce87758d9
parent8d619efb782d4920ff13dbbc4de9d1712946d725
drm/amd/display: Defer DIG FIFO disable after VID stream enable

[ Upstream commit f5262925e0f7727442c66bc57011c243d55e1b81 ]

[Why]
On some monitors we see a brief flash of corruption during the
monitor disable sequence caused by FIFO being disabled in the middle
of an active DP stream.

[How]
Wait until DP vid stream is disabled before turning off the FIFO.

The FIFO reset on DP unblank should take care of clearing any FIFO
error, if any.

Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Syed Hassan <Syed.Hassan@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/dcn314/dcn314_dio_stream_encoder.c