Re: [Intel-gfx] [PATCH 06/11] drm/i915: Pin fence for iomap

2017-09-28 Thread Joonas Lahtinen
On Mon, 2017-09-11 at 09:41 +0100, Chris Wilson wrote: > Acquire the fence register for the iomap in i915_vma_pin_iomap() on > behalf of the caller. > > We probably want for the caller to specify whether the fence should be > pinned for their usage, but at the moment all callers do want the >

[Intel-gfx] [PATCH 06/11] drm/i915: Pin fence for iomap

2017-09-11 Thread Chris Wilson
Acquire the fence register for the iomap in i915_vma_pin_iomap() on behalf of the caller. We probably want for the caller to specify whether the fence should be pinned for their usage, but at the moment all callers do want the associated fence, or none, so take it on their behalf. Signed-off-by: