[PATCH 0/2] TTM pool shrinker improvements
Tvrtko Ursulin
tvrtko.ursulin at igalia.com
Mon Jun 2 15:29:27 UTC 2025
Just two small patches to make the TTM pool shrinker respect the shrink target
configured by the core, and to also signal the core it can cheaply free more
than the default 128 pages.
Motivation was that I was running some VK-CTS tests and noticed shrinker
callback was getting called quite a lot so thought why not make it a tiny bit
more respectful and efficient.
Cc: Christian König <christian.koenig at amd.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Tvrtko Ursulin (2):
drm/ttm: Respect the shrinker core free target
drm/ttm: Increase pool shrinker batch target
drivers/gpu/drm/ttm/ttm_pool.c | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
--
2.48.0
More information about the dri-devel
mailing list