Re: [Intel-gfx] [PATCH i-g-t] i915: Use O_NONBLOCK for faster ringsize probing

2019-10-11 Thread Tvrtko Ursulin
On 11/10/2019 09:06, Chris Wilson wrote: When the kernel supports O_NONBLOCK reporting of a full execbuf queue, take advantage of that to immediately report when the output would block due to the ring being full. Signed-off-by: Chris Wilson --- lib/i915/gem_ring.c | 13 ++--- 1 file

[Intel-gfx] [PATCH i-g-t] i915: Use O_NONBLOCK for faster ringsize probing

2019-10-11 Thread Chris Wilson
When the kernel supports O_NONBLOCK reporting of a full execbuf queue, take advantage of that to immediately report when the output would block due to the ring being full. Signed-off-by: Chris Wilson --- lib/i915/gem_ring.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) di