]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Workaround to increase phantom pipe vactive in pipesplit
authorGeorge Shen <george.shen@amd.com>
Tue, 1 Nov 2022 04:16:56 +0000 (00:16 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:33:02 +0000 (13:33 +0100)
commit2ed52650a287d8f2f2c33357556cb37914acc3ce
treedd13e989f86a4eb9b8fef3d22089d1d51502af46
parentd26364596db8f8b55277b2afb3952e05a4057a21
drm/amd/display: Workaround to increase phantom pipe vactive in pipesplit

[ Upstream commit 5b8f9deaf3b6badfc0da968e6e07ceabd19700b6 ]

[Why]
Certain high resolution displays exhibit DCC line corruption with SubVP
enabled. This is likely due to insufficient DCC meta data buffered
immediately after the mclk switch.

[How]
Add workaround to increase phantom pipe vactive height by
meta_row_height number of lines, thus increasing the amount of meta data
buffered immediately after mclk switch finishes.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: George Shen <george.shen@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/dml/dcn32/dcn32_fpu.c