From 869fdd24459e0c212ff0bc1d8ae37af9b2e65f16 Mon Sep 17 00:00:00 2001 From: Mukul Joshi Date: Thu, 7 May 2026 12:06:54 -0400 Subject: [PATCH] drm/amdgpu: Add ualink handle to BOs Add a ualink handle to the amdgpu_bo struct. The ualink handle is a 128-bit unique identifier associated with a BO and is shared across the network to facilitate NPA based memory sharing across GPUs in a rack scale setup. We are only storing the low 64 bits of that handle in the BO struct as that is gauranteed to be unique. Signed-off-by: Mukul Joshi Reviewed-by: Felix Kuehling Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index b41767c7913a..2e6a8e6f577a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -125,6 +125,9 @@ struct amdgpu_bo { * for memory accounting. */ int8_t xcp_id; + + /* UALink Handle low 64 bits*/ + u64 ualink_handle_lo; }; struct amdgpu_bo_user {