drm/amd/display: fix incorrect CM/TF programming sequence in dwb
authorRoy Chan <roy.chan@amd.com>
Mon, 19 Jul 2021 23:00:22 +0000 (19:00 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:27 +0000 (13:40 +0200)
commit63ebc1f1df813ebb40d19449c356480555008166
tree027456532cd748da1008e9d501db5d880a99ec94
parentd763afc4ea2b251217ec87cf4c1e006c9f0aef99
drm/amd/display: fix incorrect CM/TF programming sequence in dwb

[ Upstream commit 781e1e23131cce56fb557e6ec2260480a6bd08cc ]

[How]
the programming sequeune was for old asic.
the correct programming sequeunce should be similar to the one
used in mpc. the fix is copied from the mpc programming sequeunce.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Roy Chan <roy.chan@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/dcn30/dcn30_dwb_cm.c