drm/amd/display: Fix only one ABM pipe enabled under ODM combined case
authorLeon Huang <Leon.Huang1@amd.com>
Tue, 17 Jan 2023 06:17:40 +0000 (14:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jan 2023 19:01:45 +0000 (14:01 -0500)
commit32e3da4310bb1c55b076ed477dea6ddf5a965e69
treed45457d7880282a85b3ffcb795b045ad9a16f114
parent1715339b45c46f4b588d940f50cc91ef0f10d4a1
drm/amd/display: Fix only one ABM pipe enabled under ODM combined case

[Why]
ABM set pipe before updating ODM status,
it leads to incorrect ABM pipe setting when enabling ODM combine.

[How]
Call ABM set pipe flow after ODM status update in program pipe sequence.

Reviewed-by: Chun-Liang Chang <Chun-Liang.Chang@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leon Huang <Leon.Huang1@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c