[Intel-gfx] [PATCH v2 4/4] drm/i915/ttm: Use TTM for system memory

Matthew Auld matthew.william.auld at gmail.com
Fri Jun 11 16:34:05 UTC 2021


On Fri, 11 Jun 2021 at 15:55, Thomas Hellström
<thomas.hellstrom at linux.intel.com> wrote:
>
> For discrete, use TTM for both cached and WC system memory. That means
> we currently rely on the TTM memory accounting / shrinker. For cached
> system memory we should consider remaining shmem-backed, which can be
> implemented from our ttm_tt_populate calback. We can then also reuse our
> own very elaborate shrinker for that memory.
>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list