[Intel-gfx] [PATCH v2 1/3] drm/i915: Use consistent forcewake auto-release timeout across kernel configs
Chris Wilson
chris at chris-wilson.co.uk
Tue Apr 5 11:22:23 UTC 2016
On Tue, Apr 05, 2016 at 12:01:10PM +0100, Tvrtko Ursulin wrote:
> for_each_fw_domain(domain, dev_priv, id) {
> - if (del_timer_sync(&domain->timer) == 0)
> + if (hrtimer_cancel(&domain->timer) == 0)
> continue;
Had to double check that this was consistent, 0 => not running, => 1
pending and so we need to manually release the timer.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list