Re: [Intel-gfx] [PATCH 10/24] drm/i915: Disable EXEC_OBJECT_ASYNC when doing relocations

2017-05-19 Thread Joonas Lahtinen
On to, 2017-05-18 at 10:46 +0100, Chris Wilson wrote: > If we write a relocation into the buffer, we require our own implicit > synchronisation added after the start of the execbuf, outside of the > user's control. As we may end up clflushing, or doing the patch itself > on the GPU, asynchronously

[Intel-gfx] [PATCH 10/24] drm/i915: Disable EXEC_OBJECT_ASYNC when doing relocations

2017-05-18 Thread Chris Wilson
If we write a relocation into the buffer, we require our own implicit synchronisation added after the start of the execbuf, outside of the user's control. As we may end up clflushing, or doing the patch itself on the GPU, asynchronously we need to look at the implicit serialisation on obj->resv and