]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: expose host gpu link via sysfs (v2)
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Tue, 21 Apr 2020 22:00:07 +0000 (18:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:52:59 +0000 (22:52 -0400)
commitc9889710a2578886120dccbc09b83eec536f8770
tree176b09636a10b00057b02ffbe7d30ef552543bef
parent10cb64f929d7705ecd77de525e26ec4bd290c1f0
drm/amdkfd: expose host gpu link via sysfs (v2)

Currently host-gpu io link is always reported as PCIe however, on some
A+A systems, there could be one xgmi link available. This change exposes
xgmi link via sysfs when it is present.

v2: fix includes (Alex)

Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c