Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John Harrison <john.c.harrison@intel.com>
To: Jani Nikula <jani.nikula@linux.intel.com>,
	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 11:18:12 -0700	[thread overview]
Message-ID: <224b2a7c-8f1c-43ae-a5a9-a5fb0846cdfa@intel.com> (raw)
In-Reply-To: <87zfrpica5.fsf@intel.com>

On 6/12/2024 23:31, Jani Nikula wrote:
> 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?
Isn't it just DIV_ROUND_UP_ULL?

John.

>
> BR,
> Jani.
>
>


      reply	other threads:[~2024-06-13 18:18 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 ` [CI] " Jani Nikula
2024-06-13 18:18   ` John Harrison [this message]

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=224b2a7c-8f1c-43ae-a5a9-a5fb0846cdfa@intel.com \
    --to=john.c.harrison@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --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