summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm
diff options
context:
space:
mode:
authorMario Kleiner2019-04-26 23:40:14 +0200
committerAlex Deucher2019-04-29 21:59:35 +0200
commitdc4a9049f023cff6f3c7f0765a706595444c4bd2 (patch)
tree4d8b8a4def53b463707018825395794e0ccc241a /drivers/gpu/drm/amd/display/amdgpu_dm
parentdrm/amd/display: Expose DRM_FORMAT_RGB565 on overlay planes (diff)
downloadkernel-qcow2-linux-dc4a9049f023cff6f3c7f0765a706595444c4bd2.tar.gz
kernel-qcow2-linux-dc4a9049f023cff6f3c7f0765a706595444c4bd2.tar.xz
kernel-qcow2-linux-dc4a9049f023cff6f3c7f0765a706595444c4bd2.zip
drm/amd/display: Fix and simplify apply_below_the_range()
The comparison of inserted_frame_duration_in_us against a duration calculated from max_refresh_in_uhz is both wrong in its math and not needed, as the min_duration_in_us value is already cached in in_out_vrr for reuse. No need to recalculate it wrongly at each invocation. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm')
0 files changed, 0 insertions, 0 deletions