Following the discussion from: https://lore.kernel.org/dri-devel/[email protected]/T/#m32a0260769a0ffb2f114d00066ef3bfda91f9fd6
Idea being that we can afford with no performance benefit to try less hard when allocating contiguous backing store larger than the size which brings a performance benefit for a specific GPU. Cc: Christian König <[email protected]> Cc: Thadeu Lima de Souza Cascardo <[email protected]> Tvrtko Ursulin (2): drm/ttm: Allow drivers to specify maximum beneficial TTM pool size drm/amdgpu: Configure max beneficial TTM pool allocation order drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 5 +++++ drivers/gpu/drm/ttm/ttm_pool.c | 15 +++++++++++++-- include/drm/ttm/ttm_pool.h | 10 ++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) -- 2.48.0
