]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add psp command to get num xgmi links between direct peers
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 12 May 2021 16:26:20 +0000 (12:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:07:59 +0000 (10:07 -0400)
commit6cd4f6caacf866faeab29861e42b81a944141996
treefe992f427cacc4a63b4bb0909a31d40f792566e7
parent479a184ff69618d4281e5ed48a293f4d88c0ce93
drm/amdgpu: add psp command to get num xgmi links between direct peers

The TA can now be invoked to provide the number of xgmi links connecting
a direct source and destination peer.
Non-direct peers will report zero links.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/ta_xgmi_if.h