drm/amd/display: Rebuild mapped resources after pipe split
[ Upstream commit 387596ef28
]
[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>
5.4-rM2-2.2.x-imx-squashed
parent
fce002f1c6
commit
b099752b3b
|
@ -2474,6 +2474,7 @@ bool dcn20_fast_validate_bw(
|
|||
&context->res_ctx, dc->res_pool,
|
||||
pipe, hsplit_pipe))
|
||||
goto validate_fail;
|
||||
dcn20_build_mapped_resource(dc, context, pipe->stream);
|
||||
} else
|
||||
dcn20_split_stream_for_mpc(
|
||||
&context->res_ctx, dc->res_pool,
|
||||
|
|
Loading…
Reference in New Issue