]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: Check use_xgmi_p2p before reporting hive_id
authorDivya Shikre <DivyaUday.Shikre@amd.com>
Tue, 22 Mar 2022 19:00:12 +0000 (15:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Mar 2022 16:40:25 +0000 (12:40 -0400)
commit9d9c8af581ef3be39f682ac6b1a8819f6f37dc6c
tree3781eb2e578cec293bec0a4364e67200f0e66970
parent7ee524c8daddea5d2d6af9cede6ed66f89dcb055
drm/amdkfd: Check use_xgmi_p2p before reporting hive_id

Recently introduced commit 8f4c2a8f48c9 ("drm/amdgpu: Add
use_xgmi_p2p module parameter") did not update XGMI iolinks
when use_xgmi_p2p is disabled. Add fix to not create XGMI
iolinks in KFD topology when this parameter is disabled.

Fixes: 8f4c2a8f48c9 ("drm/amdgpu: Add use_xgmi_p2p module parameter")
Signed-off-by: Divya Shikre <DivyaUday.Shikre@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c