Re: [Intel-gfx] [PATCH 12/22] drm/i915: Allocate rings from stolen

2016-08-16 Thread Joonas Lahtinen
On ti, 2016-08-16 at 11:42 +0100, Chris Wilson wrote: > @@ -1949,10 +1949,8 @@ intel_ring_create_vma(struct drm_i915_private > *dev_priv, int size) >   struct drm_i915_gem_object *obj; >   struct i915_vma *vma; >   > - obj = ERR_PTR(-ENODEV); > - if (!HAS_LLC(dev_priv)) > -

[Intel-gfx] [PATCH 12/22] drm/i915: Allocate rings from stolen

2016-08-16 Thread Chris Wilson
If we have stolen available, make use of it for ringbuffer allocation. Previously this was restricted to !llc platforms, as writing to stolen requires a GGTT mapping - but now that we have partial mappable support, the mappable aperture isn't quite so precious so we can use it more freely and ringb