drm/amd/display: fix odm 2:1 policy not being applied consistently in 4k144 modes
authorSamson Tam <samson.tam@amd.com>
Fri, 5 Aug 2022 22:41:01 +0000 (18:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:34:26 +0000 (13:34 -0400)
commitf577c7c76bf9f0e0a6dd3daf5b9a3d3f2b3880cc
treea80b46324e219400f27cabab47c4b74d2a521c61
parentd61e4ba33e254ef8df33c355ba1b2865e3885693
drm/amd/display: fix odm 2:1 policy not being applied consistently in 4k144 modes

[Why]
odm 2:1 policy is splitting the pipes in 4k144.
then in subvp code, we merge the pipes. but since the
 configuration is unsupported, we keep the pipes split

[How]
for unsupported subvp configuration, redo the dml and
 pipe split calls

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Samson Tam <samson.tam@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/dml/dcn32/dcn32_fpu.c