[Intel-gfx] [PATCH 09/17] drm/i915/gtt: Make gen6 page directories evictable
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Mon Jun 11 10:56:29 UTC 2018
Quoting Chris Wilson (2018-06-10 22:43:17)
> Currently all page directories are bound at creation using an
> unevictable node in the GGTT. This severely limits us as we cannot
> remove any inactive ppgtt for new contexts, or under aperture pressure.
> To fix this we need to make the page directory into a first class and
> unbindable vma. Hence, the creation of a custom vma to wrap the page
> directory as opposed to a GEM object.
>
> In this patch, we leave the page directories pinned upon creation.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Matthew Auld <matthew.william.auld at gmail.com>
> Reviewed-by: Matthew Auld <matthew.william.auld at gmail.com>
The misuse of I915_GGTT_VIEW_ROTATED from previous review is a one that I would
like to see addressed.
Regards, Joonas
More information about the Intel-gfx
mailing list