diff options
author | Clay King <clayking@amd.com> | 2025-08-20 15:04:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-08-29 10:14:05 -0400 |
commit | 306cbcc6f687d791ab3cc8fbbe30f5286fd0d1e5 (patch) | |
tree | 82a2266bf83a8e496b4c4af3b92fd70145e39ea3 /rust/helpers/vmalloc.c | |
parent | cf49a454e16675fad59c1080f909a7e51192a494 (diff) |
drm/amd/display: incorrect conditions for failing dto calculations
[Why & How]
Previously, when calculating dto phase, we would incorrectly fail when phase
<=0 without additionally checking for the integer value. This meant that
calculations would incorrectly fail when the desired pixel clock was an exact
multiple of the reference clock.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Clay King <clayking@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions