]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix and simplify pipe split logic
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 27 Apr 2020 18:55:08 +0000 (14:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:48:43 +0000 (12:48 -0400)
commitb53ef0cbfbcfb866e80c4d4806648e85394ae5e1
tree410f8e5dd817fd26941968c1de6639277dadbbc7
parent8d9b0b1a9b7ad49ab256b42064c25e7dc0186a99
drm/amd/display: fix and simplify pipe split logic

Current odm/mpc combine logic to detect which pipes need to split
logically is flawed leading to incorrect pipe merge/split operations
being taken.

This change cleans up the logic and fixes the logical errors.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@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
drivers/gpu/drm/amd/display/dc/inc/resource.h