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. v2: * Simplify loop logic and improve commit message. 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 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) -- 2.48.0