]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd34184e3e3ad11603cc3103a467f1fdd71ee2915
tree176b09636a10b00057b02ffbe7d30ef552543bef
parent3cbb3a9749a31a6e8549650df3d16a050acab3ca
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