drm/amdgpu: Add address allocator for NPA addresses

Add a address allocator, which uses DRM MM, for allocating and
deallocating NPA addresses for BOs exported/imported in a rack-scale
setup.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mukul Joshi 2026-04-27 19:30:02 -04:00 • committed by Alex Deucher
commit 37195ac8bd
2 changed files with 96 additions and 0 deletions