[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250702161208.25188-1-pierre-eric.pelloux-prayer@amd.com>
Date: Wed, 2 Jul 2025 18:12:01 +0200
From: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@....com>
To:
CC: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@....com>,
Christian König <christian.koenig@....com>, Alex Deucher
<alexander.deucher@....com>, Arunpravin Paneer Selvam
<Arunpravin.PaneerSelvam@....com>, David Airlie <airlied@...il.com>, "Maarten
Lankhorst" <maarten.lankhorst@...ux.intel.com>, Matthew Auld
<matthew.auld@...el.com>, Maxime Ripard <mripard@...nel.org>, Simona Vetter
<simona@...ll.ch>, Thomas Zimmermann <tzimmermann@...e.de>,
<amd-gfx@...ts.freedesktop.org>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v1 0/3] drm_buddy regresion fix and minor improvements
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
Powered by blists - more mailing lists