drm/amd/display: fix B0 TMDS deepcolor no dislay issue
authorCharlene Liu <Charlene.Liu@amd.com>
Mon, 6 Dec 2021 02:19:30 +0000 (21:19 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jan 2022 14:35:18 +0000 (15:35 +0100)
commit9b1df8dab312f58f1e4db2f5759083da339e1b31
tree50aab0f407ca0c2ead22d536eb52b162ceb1dabb
parent9964f0840a8216275adcf7970b5631bbd6f175a2
drm/amd/display: fix B0 TMDS deepcolor no dislay issue

[ Upstream commit 2eb82577a16d4c8eb31e4ed520649850bb95b223 ]

[why]
B0 PHY C map to F, D map to G driver use logic instance, dmub does the
remap. Driver still need use the right PHY instance to access right HW.

[how]
use phyical instance when program PHY register.

[note]
could move resync_control programming to dmub next.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@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_resource.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.h