]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
amdgpu/ttm: use amdgpu_gtt_mgr_alloc_entries
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 26 Jan 2026 09:17:24 +0000 (10:17 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:30 +0000 (14:16 -0500)
commitdb3b7488e6859223fa0d8e8b419202cf599dde75
treea511374a92716548b0ca9e1eeb147959033c43e0
parent71aec08f80e7062027a59ddb0ff1924f4b672452
amdgpu/ttm: use amdgpu_gtt_mgr_alloc_entries

Use amdgpu_gtt_mgr_alloc_entries for each entity instead
of reserving a fixed number of pages.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h