[Intel-gfx] [PATCH 11/25] drm/i915: Spin after waking up for an interrupt
Chris Wilson
chris at chris-wilson.co.uk
Tue Jun 28 08:55:17 UTC 2016
On Mon, Jun 27, 2016 at 11:32:10AM +0100, Tvrtko Ursulin wrote:
>
> On 25/06/16 11:12, Chris Wilson wrote:
> >When waiting for an interrupt (waiting for the GPU to complete some
> >work), we know we are the single waiter for the GPU. We also know when
>
> You mean we know we were the first waiter, if we have been woken up?
> Or perhaps the single waiter for this request? (more or less, maybe
> close enough) Or also s/", we know we are/, and we know we are" ?
Single waiter for the engine. s/and//; it follows from and is not
conditional. To be here we know we are the only piece of code performing
this check. There may be threads entering i915_wait_request that also
get to spin before adding themselves to the waitqueue, but of all waiters,
we are the only one allowed to spin on this engine.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list