[Intel-gfx] [PATCH 11/11] drm/i915/gem: Make relocations atomic within execbuf

2020-05-28 Thread Chris Wilson
Although we may chide userspace for reusing the same batches concurrently from multiple threads, at the same time we must be very careful to only execute the batch and its relocations as supplied by the user. If we are not careful, we may allow another thread to rewrite the current batch with its o

[Intel-gfx] [PATCH 11/11] drm/i915/gem: Make relocations atomic within execbuf

2020-05-28 Thread Chris Wilson
Although we may chide userspace for reusing the same batches concurrently from multiple threads, at the same time we must be very careful to only execute the batch and its relocations as supplied by the user. If we are not careful, we may allow another thread to rewrite the current batch with its o