Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Move ioremap_wc tracking onto VMA

2016-04-18 Thread Tvrtko Ursulin
On 18/04/16 12:56, Chris Wilson wrote: On Mon, Apr 18, 2016 at 12:14:02PM +0100, Chris Wilson wrote: By tracking the iomapping on the VMA itself, we can share that area between multiple users. Also by only revoking the iomapping upon unbinding from the mappable portion of the GGTT, we can keep

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Move ioremap_wc tracking onto VMA

2016-04-18 Thread Tvrtko Ursulin
On 18/04/16 12:14, Chris Wilson wrote: By tracking the iomapping on the VMA itself, we can share that area between multiple users. Also by only revoking the iomapping upon unbinding from the mappable portion of the GGTT, we can keep that iomap across multiple invocations (e.g. execlists context

Re: [Intel-gfx] [PATCH v2 4/4] drm/i915: Move ioremap_wc tracking onto VMA

2016-04-18 Thread Chris Wilson
On Mon, Apr 18, 2016 at 12:14:02PM +0100, Chris Wilson wrote: > By tracking the iomapping on the VMA itself, we can share that area > between multiple users. Also by only revoking the iomapping upon > unbinding from the mappable portion of the GGTT, we can keep that iomap > across multiple invocati

[Intel-gfx] [PATCH v2 4/4] drm/i915: Move ioremap_wc tracking onto VMA

2016-04-18 Thread Chris Wilson
By tracking the iomapping on the VMA itself, we can share that area between multiple users. Also by only revoking the iomapping upon unbinding from the mappable portion of the GGTT, we can keep that iomap across multiple invocations (e.g. execlists context pinning). Note that by moving the iounnma