[Intel-gfx] [PATCH 1/2] drm/i915: Drop the unbound page cache upon idling

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Nov 16 10:11:16 UTC 2017


On Tue, 2017-11-14 at 19:11 +0000, Chris Wilson wrote:
> When the GPU is idle, we can take a breather and release our hold on our
> many caches. One such cache is that we keep objects pinned in memory
> even when they are no longer accessible by the GPU, that cache is held
> until the system comes under memory pressure. As we are idle, we can be
> reasonably confident that the pages will not be used again in the near
> future, so let the system know it can recover the memory for its own
> purposes.
> 
> Suggested-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list