[Intel-gfx] [PATCH v2 11/14] drm/i915: Rename helpers used for unwinding, use macro for can_preempt
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 19 19:20:18 UTC 2017
Quoting MichaĆ Winiarski (2017-10-19 19:36:16)
> @@ -855,10 +853,10 @@ static void intel_lrc_irq_handler(unsigned long data)
>
> if (status & GEN8_CTX_STATUS_ACTIVE_IDLE &&
> buf[2*head + 1] == PREEMPT_ID) {
> - execlist_cancel_port_requests(execlists);
> + execlists_cancel_port_requests(execlists);
>
> spin_lock_irq(&engine->timeline->lock);
> - unwind_incomplete_requests(engine);
> + execlists_unwind_incomplete_requests(execlists);
> spin_unlock_irq(&engine->timeline->lock);
For exporting, I vote we move the spin_lock into
execlists_unwind_incomplete_requests().
-Chris
More information about the Intel-gfx
mailing list