drm/amd/display: Rebuild mapped resources after pipe split
authorMikita Lipski <mikita.lipski@amd.com>
Fri, 23 Aug 2019 17:26:24 +0000 (13:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:43:02 +0000 (16:43 +0100)
commitb099752b3b40fd84fa47fd874bf0f068cc99931f
tree40b9dbbdea69b6caf2b02cf1756c4af13f640480
parentfce002f1c6905d7ab8a4d024ed8ce2e539217f61
drm/amd/display: Rebuild mapped resources after pipe split

[ Upstream commit 387596ef2859c37d564ce15abddbc9063a132e2c ]

[why]
The issue is specific for linux, as on timings such as 8K@60
or 4K@144 DSC should be working in combination with ODM Combine
in order to ensure that we can run those timings. The validation
for those timings was passing, but when pipe split was happening
second pipe wasn't being programmed.

[how]
Rebuild mapped resources if we split stream for ODM.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Acked-by: Leo Li <sunpeng.li@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/dcn20/dcn20_resource.c