Star64_linux/drivers/gpu/drm/amd
Aric Cyr 5a6b545869 drm/amd/display: LFC not working on 2.0x range monitors (v2)
[Why]
Nominal pixel clock and EDID information differ in precision so although
monitor reports maximum refresh is 2x minimum, LFC was not being
enabled.

[How]
Use minimum refresh rate as nominal/2 when EDID dictates that min
refresh = max refresh/2.

v2: squash in 64 bit divide fix

Signed-off-by: Aric Cyr <aric.cyr@amd.com>
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-31 12:26:14 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: fix hpd bo size calculation error 2020-03-31 12:26:14 -04:00
amdkfd drm: amd: fix spelling mistake "shoudn't" -> "shouldn't" 2020-03-19 00:03:05 -04:00
display drm/amd/display: LFC not working on 2.0x range monitors (v2) 2020-03-31 12:26:14 -04:00
include drm/amdkfd: Consolidate duplicated bo alloc flags 2020-03-10 15:54:34 -04:00
powerplay drm/amdgpu/smu11: add support for SMU AC/DC interrupts 2020-03-25 17:00:11 -04:00