summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorJaehyun Chung <jaehyun.chung@amd.com>2020-06-18 15:27:35 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-07-02 12:02:54 -0400
commitad339f69114a6a145fc94d44376851c53dee3475 (patch)
treeb6c21c29207b5b740b5a847f8c079e62a65eab3d /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parent3e84b9c977d7392c0e6a5520c09db36bcb57b743 (diff)
drm/amd/display: Fix incorrect rounding for 10Hz refresh range
[Why] In cases where refresh range is slightly below 10, FreeSync is not active or supported. Need to round values before checking refresh range in order to have FreeSync supported in these cases. [How] Remove redundant values and round values before checking valid refresh range. Signed-off-by: Jaehyun Chung <jaehyun.chung@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Anthony Koo <Anthony.Koo@amd.com> Acked-by: Eryk Brol <eryk.brol@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions