drm/amd/display: Fix merging dynamic ODM+MPO configs on DCN32
authorDillon Varone <Dillon.Varone@amd.com>
Fri, 23 Sep 2022 18:00:09 +0000 (14:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:02:17 +0000 (12:02 -0400)
commit3f4dee59253a6882acde98a2a027e55f1330ae86
tree6f8527819f2775cacda2ee12b180cb69c238def0
parentf1b47f0004cfff051441aa93b7115d756d5eebb7
drm/amd/display: Fix merging dynamic ODM+MPO configs on DCN32

[WHY&HOW?]
When merging ODM pipes that are using MPO, we must copy the stream_res
from the new top pipe to the bottom pipe so that the overlayed plane is
not pointing to the wrong stream assets.

Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c