drm/amd/display: fix split threshold w/a to work with mpo
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Fri, 28 Feb 2020 22:23:31 +0000 (17:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commitcd3e05a795a3c9e54ded8130c8ef8f0290334861
treeac04d78a97559906a1cd587952adcb85746ff572
parent1ef893e2749292be0c3f41f404bc44e5d6a5f742
drm/amd/display: fix split threshold w/a to work with mpo

Right now only stream count is used to avoid split.  This change updates
the W/A to check plane count instead.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c