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

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Oct 11 08:20:12 UTC 2019


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. :)

Regards,

Tvrtko

> Bring on ugpu.
> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 


More information about the Intel-gfx mailing list