]> Gentwo Git Trees - linux/.git/commit
drm/amdkfd: set uuid for each partition in topology
authorEric Huang <jinhuieric.huang@amd.com>
Thu, 7 Aug 2025 18:23:11 +0000 (14:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Aug 2025 17:04:02 +0000 (13:04 -0400)
commit3a75edf93aaec4a3178bdae64723fb41992398f2
tree0edb181262e33b58d4719c798e95ebc1f9ace1db
parent5c8d5e2619f7d2985adfe45608dc942ca8151aa3
drm/amdkfd: set uuid for each partition in topology

Currently each kfd compute partition/node is sharing
the same uuid of AID, which doen't meet the CUDA spec
for visible device, so corresponding XCD id for each
partition in smu has been assigned to xcp, and exposed
to kfd topology.

v2: add NULL check (Lijo)

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c