]> 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>
Tue, 9 Sep 2025 16:28:18 +0000 (12:28 -0400)
commitce42a3b581a9db10765eb835840b04dbe7972135
treef36de2bbd988d59cf1b65db5c72d9eca7bf0241f
parent1dfd2864a1c4909147663e5a27c055f50f7c2796
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>
(cherry picked from commit 36cc7d13178d901982da7a122c883861d98da624)
drivers/gpu/drm/amd/amdkfd/kfd_topology.c