drm/amd/display: add on demand pipe merge logic for dcn2+
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 29 Jan 2020 17:16:57 +0000 (12:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commit7287a6757825de78799731480ecccbc7c85cf45b
tree83abbffed0f9d05ed3f84d2d2ed42d6eecd4e3f8
parent2277f01dbc09f7d440bbc2e45d551b7c8f630a9e
drm/amd/display: add on demand pipe merge logic for dcn2+

Adds logic that will determine if pipes need merging during validation.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Chris Park <Chris.Park@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/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.h