Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@linux.intel.com>
To: Matthew Brost <matthew.brost@intel.com>, intel-xe@lists.freedesktop.org
Cc: Jonathan Cavitt <jonathan.cavitt@intel.com>
Subject: Re: [CI] drm/xe: Add xe_gt_clock_interval_to_ms helper
Date: Thu, 13 Jun 2024 09:31:46 +0300	[thread overview]
Message-ID: <87zfrpica5.fsf@intel.com> (raw)
In-Reply-To: <20240611160846.2812036-1-matthew.brost@intel.com>

On Tue, 11 Jun 2024, Matthew Brost <matthew.brost@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

  parent reply	other threads:[~2024-06-13  6:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 16:08 [CI] drm/xe: Add xe_gt_clock_interval_to_ms helper Matthew Brost
2024-06-11 17:01 ` ✓ CI.Patch_applied: success for " Patchwork
2024-06-11 17:01 ` ✓ CI.checkpatch: " Patchwork
2024-06-11 17:02 ` ✓ CI.KUnit: " Patchwork
2024-06-11 17:14 ` ✓ CI.Build: " Patchwork
2024-06-11 17:16 ` ✗ CI.Hooks: failure " Patchwork
2024-06-11 17:17 ` ✓ CI.checksparse: success " Patchwork
2024-06-11 17:32 ` ✓ CI.BAT: " Patchwork
2024-06-11 21:29 ` ✗ CI.FULL: failure " Patchwork
2024-06-13  6:31 ` Jani Nikula [this message]
2024-06-13 18:18   ` [CI] " John Harrison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zfrpica5.fsf@intel.com \
    --to=jani.nikula@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jonathan.cavitt@intel.com \
    --cc=matthew.brost@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox