drm/amd/display: Fix bug where refresh rate becomes fixed
authorAnthony Koo <Anthony.Koo@amd.com>
Thu, 5 Apr 2018 01:01:21 +0000 (21:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:52 +0000 (11:10 -0500)
commitff6014d63a87d9a801ddd9ddd10359b2dead6943
treef1496b5e41a87c9294df6bfd4cf6427e67d883bb
parente80e9446084168c4f186f502dd15e6241bf454a1
drm/amd/display: Fix bug where refresh rate becomes fixed

This issue occurs if refresh rate range is very small and lfc is not used.
When frame spikes occur, refresh rate becomes fixed and will not restore properly

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h