drm/amdgpu: Add ioctl infra for exporting/importing UALink handles

Add the ioctl infrastructure to support exporting and importing BOs
to facilitate NPA based memory sharing across GPUs in a rack scale
setup.

Proposed userspace:
35959f8e12/projects/rocr-runtime/libhsakmt/src/memory.c (L971)
35959f8e12/projects/rocr-runtime/libhsakmt/src/memory.c (L1036)

v2: Move the ioctl wire-up to the end of the series.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Horatio Zhang <hongkun.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mukul Joshi 2026-08-20 22:40:53 +08:00 • committed by Alex Deucher
commit 15d1c306d8
4 changed files with 78 additions and 0 deletions