[CI] drm/xe: Add xe_gt_clock_interval_to_ms helper
John Harrison
john.c.harrison at intel.com
Thu Jun 13 18:18:12 UTC 2024
On 6/12/2024 23:31, Jani Nikula wrote:
> On Tue, 11 Jun 2024, Matthew Brost <matthew.brost at intel.com> wrote:
>> +static u64 div_u64_roundup(u64 n, u32 d)
>> +{
>> + return div_u64(n + d - 1, d);
>> +}
> If math64.h doesn't offer what you need, maybe update it instead of
> accumulating local variants?
Isn't it just DIV_ROUND_UP_ULL?
John.
>
> BR,
> Jani.
>
>
More information about the Intel-xe
mailing list