]> Gentwo Git Trees - linux/.git/commit
drm/amdkfd: fix p2p links bug in topology
authorEric Huang <jinhuieric.huang@amd.com>
Mon, 25 Aug 2025 13:50:49 +0000 (09:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 20:06:43 +0000 (16:06 -0400)
commit36cc7d13178d901982da7a122c883861d98da624
treeb302aa4897fadb01a4ead608d22d84a9dccfa090
parent3f36e712a8b17d49c089706e229849d3f745a540
drm/amdkfd: fix p2p links bug in topology

When creating p2p links, KFD needs to check XGMI link
with two conditions, hive_id and is_sharing_enabled,
but it is missing to check is_sharing_enabled, so add
it to fix the error.

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