aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorMitul Golani <[email protected]>2024-06-21 13:04:54 +0530
committerSuraj Kandpal <[email protected]>2024-06-24 15:32:15 +0530
commit213cc30331e9e8c92458c57a9565efc47933f34b (patch)
tree860bb06e85979ea48cb38bff203b8cfe4090271a /rust/helpers.c
parent582e372f068c813c852a48000f27c175fb11bb61 (diff)
drm/i915/display: Consider adjusted_pixel_rate to be u64
Consider adjusted_pixel_rate to be a u64 to match the return type of mul_u32_u32() and avoid any compiler dependency for do_div. Fixes: 1676ecd303ac ("drm/i915: Compute CMRR and calculate vtotal") Cc: Mitul Golani <[email protected]> Cc: Ankit Nautiyal <[email protected]> Cc: Suraj Kandpal <[email protected]> Cc: Jani Nikula <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: [email protected] Reported-by: Nathan Chancellor <[email protected]> Closes: https://lore.kernel.org/r/20240619154207.GA1125704@thelio-3990X Signed-off-by: Mitul Golani <[email protected]> Reviewed-by: Rodrigo Vivi <[email protected]> Signed-off-by: Suraj Kandpal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions