[CI] drm/xe: Add xe_gt_clock_interval_to_ms helper

Jani Nikula jani.nikula at linux.intel.com
Thu Jun 13 06:31:46 UTC 2024


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?

BR,
Jani.


-- 
Jani Nikula, Intel


More information about the Intel-xe mailing list