amd/drm/display: avoid dcn3 on flip opp change for slave pipes
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Mon, 11 May 2020 19:21:02 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2020 20:11:23 +0000 (16:11 -0400)
commit69fc1f4b976ceafe91c64e1fc4ec2a2fe8b916aa
treec1f398d78b510a93db55d822ee2da9823d4c4fc3
parent8353d30e747f4e5cdd867c6b054dbb85cdcc76a9
amd/drm/display: avoid dcn3 on flip opp change for slave pipes

At the moment on flip opp reassignment does not work in all cases
for non root pipes.
This change simply makes sure we prefer pipes not used previously
when splitting in dcn3.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Reviewed-by: Eric Bernstein <eric.bernstein@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c