]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Consolidate reserve region allocations
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 26 Mar 2026 05:51:15 +0000 (11:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:50:26 +0000 (13:50 -0400)
commitf315099fd26ae8e9ab7718fbc8f66b157828313a
tree1a91cb7a3c31a018eb83f867061fb38968c4fe72
parent6845355a08c2dc7e5af3c37b7d8f61afbfec1939
drm/amdgpu: Consolidate reserve region allocations

Move marking reserve regions to a single function. It loops through all
the reserve region ids. The ones with non-zero size are reserved. There
are still some reservations which could happen later during runtime like
firmware extended reservation region.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c