drm/amd/display: Fix FreeSync when RGB MPO in use
authorAric Cyr <aric.cyr@amd.com>
Wed, 17 Mar 2021 17:57:49 +0000 (13:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:40:55 +0000 (21:40 -0400)
commit41ef8fbbef8e21e01c94105ed87b3a772b868439
tree58cb45b7d98a773f4982d1aaad0e84465ec2aad7
parent9c82354e8984b2073661e46c36ec96903f502276
drm/amd/display: Fix FreeSync when RGB MPO in use

[WHY]
We should skip programming manual trigger on non-primary planes when MPO is
enabled.

[HOW]
Implement an explicit mechanism for skipping manual trigger programming
for planes that shouldn't cause the frame to end.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h