drm/amd/display: program manual trigger only for bottom most pipe
authorAric Cyr <aric.cyr@amd.com>
Thu, 16 May 2019 22:43:54 +0000 (18:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:33 +0000 (10:39 -0500)
commit4fd334122399a133ddaee8ef865eb10a1cf8000f
treee89a25f0d88d03d3dc9f372b410cf7f80029e556
parent6ad34adeaec5b56a5ba90e90099cabf1c1fe9dd2
drm/amd/display: program manual trigger only for bottom most pipe

[Why]
We only want to manual trigger end-of-frame when the bottom-most
pipe is flipped to prevent overlays from ending the frame too early.

[How]
Check that the manual trigger is only firing on bottom plane.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c