On 6 June 2018 at 07:27, Chris Wilson <ch...@chris-wilson.co.uk> wrote: > As we were only supporting aliasing_ppgtt on gen7 for some time, we > saved a few checks by preallocating the page directories on creation. > However, since we need 2MiB of page directories for each ppgtt, to > support arbitrary numbers of user contexts, we need to be more prudent > in our allocations, and defer the page allocation until it is used. We > don't recover unused pages yet as we found that doing so on the fly > (i.e. altering TLB entries) would confuse the GPU. > > Signed-off-by: Chris Wilson <ch...@chris-wilson.co.uk> > Cc: Joonas Lahtinen <joonas.lahti...@linux.intel.com> > Cc: Mika Kuoppala <mika.kuopp...@linux.intel.com> > Cc: Matthew Auld <matthew.william.a...@gmail.com> Reviewed-by: Matthew Auld <matthew.william.a...@gmail.com> _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx
- [Intel-gfx] Full ppgtt for hsw, closer Chris Wilson
- [Intel-gfx] [PATCH 04/17] drm/i915/gtt: Push allocation ... Chris Wilson
- [Intel-gfx] [PATCH 08/17] drm/i915/gtt: Make gen6 page d... Chris Wilson
- [Intel-gfx] [PATCH 12/17] drm/i915/gtt: Skip initializin... Chris Wilson
- [Intel-gfx] [PATCH 07/17] drm/i915/gtt: Reorder aliasing... Chris Wilson
- [Intel-gfx] [PATCH 10/17] drm/i915/gtt: Lazily allocate ... Chris Wilson
- Re: [Intel-gfx] [PATCH 10/17] drm/i915/gtt: Lazily a... Matthew Auld
- [Intel-gfx] [PATCH 15/17] drm/i915/gtt: Skip clearing th... Chris Wilson
- [Intel-gfx] [PATCH 03/17] drm/i915: Decouple vma vfuncs ... Chris Wilson
- [Intel-gfx] [PATCH 01/17] drm/i915/gtt: Invalidate GGTT ... Chris Wilson
- [Intel-gfx] [PATCH 13/17] drm/i915/gtt: Cache the PTE en... Chris Wilson
- [Intel-gfx] [PATCH 11/17] drm/i915/gtt: Free unused page... Chris Wilson
- [Intel-gfx] [PATCH 09/17] drm/i915/gtt: Only keep gen6 p... Chris Wilson
- [Intel-gfx] [PATCH 17/17] RFT drm/i915/gtt: Enable full-... Chris Wilson
- [Intel-gfx] [PATCH 02/17] drm/i915: Prepare for non-obje... Chris Wilson