]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: fix k1 k2 divider programming for phantom streams
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Mon, 30 Jan 2023 18:07:59 +0000 (13:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:00 +0000 (12:49 +0200)
commit0ac86f7dda2b1f895304919ee9035c170a6af419
treead92b957e3a6bb156fe40111715fb83d81c759b8
parent4a36da161b7a467c884e00219bb62b645bbe74f1
drm/amd/display: fix k1 k2 divider programming for phantom streams

[ Upstream commit 3b214bb7185d8284d7d4c53e15127f69a375abf6 ]

[Why & How]
When k1 and k2 divider programming logic is executed for a phantom
stream, the corresponding master stream should be used for the
calculation. Fix the if condition to use the master stream for checking
signal type instead of the phantom stream.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 709671ffb15d ("drm/amd/display: Remove OTG DIV register write for Virtual signals.")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c