[Intel-gfx] [PATCH 20/22] drm/i915/gem: Asynchronous GTT unbinding

2020-05-20 Thread Chris Wilson
It is reasonably common for userspace (even modern drivers like iris) to reuse an active address for a new buffer. This would cause the application to stall under its mutex (originally struct_mutex) until the old batches were idle and it could synchronously remove the stale PTE. However, we can

[Intel-gfx] [PATCH 20/22] drm/i915/gem: Asynchronous GTT unbinding

2020-05-03 Thread Chris Wilson
It is reasonably common for userspace (even modern drivers like iris) to reuse an active address for a new buffer. This would cause the application to stall under its mutex (originally struct_mutex) until the old batches were idle and it could synchronously remove the stale PTE. However, we can