drm/amd/display: Add missing ODM 2:1 policy logic
authorSamson Tam <Samson.Tam@amd.com>
Fri, 27 May 2022 01:12:23 +0000 (21:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Jul 2022 21:17:49 +0000 (17:17 -0400)
commitffccfdbab1056954fd400d2864a1c1b38915c143
treeff63012a1a5509e88a2512f4a4c52cd9f40ba8d0
parent493af96d61b1361a44d016057e0fc6e5d4c92fc7
drm/amd/display: Add missing ODM 2:1 policy logic

Phantom pipes must use the same configuration used in main pipes. This
commit add this check.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Alex Hung <alex.hung@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/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c