Re: [Intel-gfx] [PATCH] drm/i915: Pull unpin map into vma release

2018-07-24 Thread Chris Wilson
Quoting Michał Winiarski (2018-07-24 09:48:59) > On Sat, Jul 21, 2018 at 01:50:37PM +0100, Chris Wilson wrote: > > A reasonably common operation is to pin the map of the vma alongside the > > vma itself for the lifetime of the vma, and so release both pin at the > > same time as destroying the

Re: [Intel-gfx] [PATCH] drm/i915: Pull unpin map into vma release

2018-07-24 Thread Michał Winiarski
On Sat, Jul 21, 2018 at 01:50:37PM +0100, Chris Wilson wrote: > A reasonably common operation is to pin the map of the vma alongside the > vma itself for the lifetime of the vma, and so release both pin at the > same time as destroying the vma. It is common enough to pull into the > release

[Intel-gfx] [PATCH] drm/i915: Pull unpin map into vma release

2018-07-21 Thread Chris Wilson
A reasonably common operation is to pin the map of the vma alongside the vma itself for the lifetime of the vma, and so release both pin at the same time as destroying the vma. It is common enough to pull into the release function, making that central function more attractive to a couple of other