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 <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-05-07 12:06:54 -04:00 committed by Alex Deucher
parent 89496dcdca
commit 869fdd2445

View File

@ -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 {