[Intel-gfx] [RFC 8/8] drm/i915: Force preemption to complete via engine reset

Chris Wilson chris at chris-wilson.co.uk
Fri Mar 16 20:44:27 UTC 2018


Quoting jeff.mcgee at intel.com (2018-03-16 18:31:05)
> +bool intel_engine_cancel_fpreempt(struct intel_engine_cs *engine)
> +{
> +       hrtimer_cancel(&engine->fpreempt_timer);

Can not be used inside the tasklet as the hrtimer may also be a tasklet
on the same CPU; so busy spin deadlock.
-Chris


More information about the Intel-gfx mailing list