]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59891e2e30e97a3e2def8844e651fa9679fc2b04
tree58cb45b7d98a773f4982d1aaad0e84465ec2aad7
parent70d4d370f1d5b1e8f5923f3247e8d39d436f2348
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