drm/amd/display: FreeSync not active near lower bound of non-LFC monitor range
authorAric Cyr <aric.cyr@amd.com>
Wed, 23 Sep 2020 01:37:06 +0000 (21:37 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:17:05 +0000 (15:17 -0400)
commit5dff371a7351a7e9cbb06bca9e532db16594c053
treea6fdc615e4836cda178a03421bb7c09bd49d568a
parent9b42868c3fd44fb1e910a9af361b5d470e2354c7
drm/amd/display: FreeSync not active near lower bound of non-LFC monitor range

[Why]
On narrow range monitors without LFC, a margin prevents good utilization
of the available range.

[How]
Decrease the margin for exiting fixed mode and fix the frame counter to
reset if a non-consecutive render is found.

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c