drm/amd/display: Don't trigger flip twice when ODM combine in use
authorAric Cyr <aric.cyr@amd.com>
Thu, 8 Oct 2020 13:25:29 +0000 (09:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:33:24 +0000 (13:33 -0400)
commit35a4644c935ee8263b1d99a0fe4d5370deb4f606
tree0cfbfdb68b41620c9677e6504a51c11040d8ead3
parent86c5a9e3aa66eeee663ead6104514ecdd9996925
drm/amd/display: Don't trigger flip twice when ODM combine in use

[Why]
When ODM combine is in use we trigger multiple update events causing
issues with variable refresh rate.

[How]
Only trigger on a single ODM instance.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c