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 <[email protected]>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to