]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: DCN2X Find Secondary Pipe properly in MPO + ODM Case
authorSung Lee <sung.lee@amd.com>
Tue, 5 Jan 2021 19:32:29 +0000 (14:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:18 +0000 (16:38 -0500)
commitbd061651d4e68c90d18bc0b49a37684c1608d219
tree4bd41cdb47d264ca00017db869a0a480bf352de3
parent1f2373e4fb0251aa4bf49d950d4dbd37cc6c47d0
drm/amd/display: DCN2X Find Secondary Pipe properly in MPO + ODM Case

[WHY]
Previously as MPO + ODM Combine was not supported, finding secondary pipes
for each case was mutually exclusive. Now that both are supported at the same
time, both cases should be taken into account when finding a secondary pipe.

[HOW]
If a secondary pipe cannot be found based on previous bottom pipe,
search for a second pipe using next_odm_pipe instead.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Sung Lee <sung.lee@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Anson Jacob <anson.jacob@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c