[Intel-gfx] [PATCH 6/6] drm/i915: Lazily unbind vma on close

2018-04-24 Thread Chris Wilson
When userspace is passing around swapbuffers using DRI, we frequently have to open and close the same object in the foreign address space. This shows itself as the same object being rebound at roughly 30fps (with a second object also being rebound at 30fps), which involves us having to rewrite the

Re: [Intel-gfx] [PATCH 6/6] drm/i915: Lazily unbind vma on close

2018-04-23 Thread Tvrtko Ursulin
On 23/04/2018 11:14, Chris Wilson wrote: When userspace is passing around swapbuffers using DRI, we frequently have to open and close the same object in the foreign address space. This shows itself as the same object being rebound at roughly 30fps (with a second object also being rebound at 30fp

[Intel-gfx] [PATCH 6/6] drm/i915: Lazily unbind vma on close

2018-04-23 Thread Chris Wilson
When userspace is passing around swapbuffers using DRI, we frequently have to open and close the same object in the foreign address space. This shows itself as the same object being rebound at roughly 30fps (with a second object also being rebound at 30fps), which involves us having to rewrite the