Re: [PATCH 11/25] drm/i915: Spin after waking up for an interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux