[Intel-gfx] [PATCH] drm/i915: Honour O_NONBLOCK before throttling execbuf submissions

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 11 08:31:20 UTC 2019


Quoting Tvrtko Ursulin (2019-10-11 09:20:12)
> 
> On 10/10/2019 14:58, Chris Wilson wrote:
> > Quoting Chris Wilson (2019-10-10 14:48:49)
> >> Check the user's flags on the struct file before deciding whether or not
> >> to stall before submitting a request. This allows us to reasonably
> >> cheaply honour O_NONBLOCK without checking at more critical phases
> >> during request submission.
> > 
> > One might reasonably expect poll(POLLOUT) to be supported as well in
> > this case :|
> 
> That doesn't kind of fit - mismatch between one fd and multiple 
> contexts, no? Or you could signal POLLOUT on any, or on all have space. 
> But that's taking it too far. :)

Aye, that's what I was thinking of with the ugpu comment, where one fd is
one user submit queue.
-Chris


More information about the Intel-gfx mailing list