Page MenuHomeFreeBSD

linuxkpi: Define `DIV_U64_ROUND_UP()`
ClosedPublic

Authored by dumbbell on Apr 22 2026, 8:20 AM.
Tags
None
Referenced Files
F161490437: D56576.diff
Sat, Jul 4, 6:29 AM
Unknown Object (File)
Fri, Jul 3, 2:24 PM
Unknown Object (File)
Thu, Jun 4, 9:58 PM
Unknown Object (File)
Thu, Jun 4, 5:27 PM
Unknown Object (File)
May 18 2026, 10:23 AM
Unknown Object (File)
May 18 2026, 10:18 AM
Unknown Object (File)
May 18 2026, 9:26 AM
Unknown Object (File)
May 18 2026, 9:21 AM
Subscribers

Details

Summary

It is the same as DIV64_U64_ROUND_UP() but takes a 32-bit integer as the divisor.

The amdgpu DRM driver started this in Linux 6.12.x.

This is part of the update of DRM drivers to Linux 6.12.81.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable