[Intel-gfx] [PATCH 11/17] drm/i915/gtt: Free unused page tables on unbind the context

Matthew Auld matthew.william.auld at gmail.com
Wed Jun 6 22:27:09 UTC 2018


On 6 June 2018 at 07:27, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> As we cannot reliably change used page tables while the context is
> active, the earliest opportunity we have to recover excess pages is when
> the context becomes idle. So whenever we unbind the context (it must be
> idle, and indeed being evicted) free the unused ptes.
>
> 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>


More information about the Intel-gfx mailing list