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.koe...@amd.com>
Cc: Thomas Hellström <thomas.hellst...@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

Reply via email to