]> git.hungrycats.org Git - linux/commit
drm/amd/display: polling vid stream status in hpo dp blank
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 15 Sep 2022 19:23:38 +0000 (15:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:58:20 +0000 (09:58 +0200)
commit7e8d44956459a8acbffd242d946a7fd02cc6b92b
tree4c9b25a9ef928729d23d8d79efe9f31e7f9ea9c0
parent68a6337c14abfed9c955deb89c7ae556b623c064
drm/amd/display: polling vid stream status in hpo dp blank

[ Upstream commit e32df0c7ecead95d70ca89f39b1b2b02a59ff691 ]

[why]
vid stream control is double bufferred, if we don't wait for video
stream enable set to 0, we may get temporary image corruption
showing on the stream when setting PIXEL_TO_SYMBOL_FIFO_ENABLE to 0.

Reviewed-by: Ariel Bernstein <Eric.Bernstein@amd.com>
Acked-by: Jasdeep Dhillon <jdhillon@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@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/dcn31/dcn31_hpo_dp_stream_encoder.c