Re: [Intel-gfx] [PATCH 18/24] drm/i915: Convert execbuf to use struct-of-array packing for critical fields

2017-05-19 Thread Chris Wilson
On Thu, May 18, 2017 at 10:46:32AM +0100, Chris Wilson wrote: > When userspace is doing most of the work, avoiding relocs (using > NO_RELOC) and opting out of implicit synchronisation (using ASYNC), we > still spend a lot of time processing the arrays in execbuf, even though > we now should have no

[Intel-gfx] [PATCH 18/24] drm/i915: Convert execbuf to use struct-of-array packing for critical fields

2017-05-18 Thread Chris Wilson
When userspace is doing most of the work, avoiding relocs (using NO_RELOC) and opting out of implicit synchronisation (using ASYNC), we still spend a lot of time processing the arrays in execbuf, even though we now should have nothing to do most of the time. One issue that becomes readily apparent