mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
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:
parent
89496dcdca
commit
869fdd2445
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user