Hi, The first patch fixes a performance issue caused by a change in drm_buddy ("drm/buddy: Implement tracking clear page feature"). It may be related to https://gitlab.freedesktop.org/drm/amd/-/issues/4260.
The other 2 patches are improvements based on my limited understanding of the code and that seem to work as expected. Pierre-Eric Pelloux-Prayer (3): drm/buddy: add a flag to disable trimming of non cleared blocks drm/buddy: use DRM_BUDDY_CLEAR_ALLOCATION as a hint, not a hard req drm/buddy: dont go over the higher orders multiple times drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 10 ++- drivers/gpu/drm/drm_buddy.c | 61 ++++++++++------ drivers/gpu/drm/tests/drm_buddy_test.c | 75 +++----------------- include/drm/drm_buddy.h | 3 +- 4 files changed, 57 insertions(+), 92 deletions(-) -- 2.43.0