Re: [Intel-gfx] [PATCH] drm/i915: Report context GTT size

2015-10-19 Thread Daniel Vetter
On Fri, Oct 16, 2015 at 05:34:55PM +0100, Tvrtko Ursulin wrote: > > On 14/10/15 14:17, Chris Wilson wrote: > >Since the beginning we have conflated the size of the global GTT with > >that of the per-process context sizes. In recent times (gen8+), those > >are no longer the same where the global GT

Re: [Intel-gfx] [PATCH] drm/i915: Report context GTT size

2015-10-16 Thread Chris Wilson
On Fri, Oct 16, 2015 at 05:34:55PM +0100, Tvrtko Ursulin wrote: > I have a slight unknown relating to how long would this ABI be > useful. If things are moving towards SVM, and the fact pre-gen8 > platforms can already use get_aperture, would that make it a bit > short lived? Optimist. It is certa

Re: [Intel-gfx] [PATCH] drm/i915: Report context GTT size

2015-10-16 Thread Tvrtko Ursulin
On 14/10/15 14:17, Chris Wilson wrote: Since the beginning we have conflated the size of the global GTT with that of the per-process context sizes. In recent times (gen8+), those are no longer the same where the global GTT is limited to 2/4GiB but the per-process GTT may be anything up to 256TiB

Re: [Intel-gfx] [PATCH] drm/i915: Report context GTT size

2015-10-16 Thread Chris Wilson
On Wed, Oct 14, 2015 at 02:17:11PM +0100, Chris Wilson wrote: > Since the beginning we have conflated the size of the global GTT with > that of the per-process context sizes. In recent times (gen8+), those > are no longer the same where the global GTT is limited to 2/4GiB but the > per-process GTT

[Intel-gfx] [PATCH] drm/i915: Report context GTT size

2015-10-14 Thread Chris Wilson
Since the beginning we have conflated the size of the global GTT with that of the per-process context sizes. In recent times (gen8+), those are no longer the same where the global GTT is limited to 2/4GiB but the per-process GTT may be anything up to 256TiB. Userspace knows nothing of this discrepa