Revert "drm/amd/display: Round calculated vtotal"

This reverts commit 033f56e503.
This commit is contained in:
Ksawlii 2024-11-24 00:23:17 +01:00
parent 9d9cb51ef7
commit c2a82d3cc4

View file

@ -131,7 +131,7 @@ static unsigned int calc_v_total_from_refresh(
v_total = div64_u64(div64_u64(((unsigned long long)(
frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)),
stream->timing.h_total) + 500000, 1000000);
stream->timing.h_total), 1000000);
/* v_total cannot be less than nominal */
if (v_total < stream->timing.v_total) {