[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c459f1ec-446e-317e-2835-4e9dbef44f64@linux.intel.com>
Date: Fri, 24 Sep 2021 10:03:52 +0100
From: Tvrtko Ursulin <tvrtko.ursulin@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
David Airlie <airlied@...ux.ie>,
intel-gfx@...ts.freedesktop.org,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
dri-devel@...ts.freedesktop.org, Daniel Vetter <daniel@...ll.ch>,
Rodrigo Vivi <rodrigo.vivi@...el.com>
Subject: Re: [Intel-gfx] [patch 07/11] drm/i915/pmu: Use hrtimer_forward_now()
On 23/09/2021 17:04, Thomas Gleixner wrote:
> hrtimer_forward() is about to be removed from the public
> interfaces. Replace it with hrtimer_forward_now() which provides the same
> functionality.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: David Airlie <airlied@...ux.ie>
> Cc: intel-gfx@...ts.freedesktop.org
> Cc: Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>
> Cc: Jani Nikula <jani.nikula@...ux.intel.com>
> Cc: dri-devel@...ts.freedesktop.org
> Cc: Daniel Vetter <daniel@...ll.ch>
> Cc: Rodrigo Vivi <rodrigo.vivi@...el.com>
> ---
> drivers/gpu/drm/i915/i915_pmu.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/i915/i915_pmu.c
> +++ b/drivers/gpu/drm/i915/i915_pmu.c
> @@ -439,7 +439,7 @@ static enum hrtimer_restart i915_sample(
> engines_sample(gt, period_ns);
> frequency_sample(gt, period_ns);
>
> - hrtimer_forward(hrtimer, now, ns_to_ktime(PERIOD));
> + hrtimer_forward_now(hrtimer, ns_to_ktime(PERIOD));
>
> return HRTIMER_RESTART;
> }
>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@...el.com>
Regards,
Tvrtko
Powered by blists - more mailing lists