drm/amdgpu: add and populate the port num into xgmi topology info
authorShiwu Zhang <shiwu.zhang@amd.com>
Tue, 31 Oct 2023 03:02:49 +0000 (11:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Nov 2023 05:53:49 +0000 (00:53 -0500)
commit9ddea8c9775d9379d71e6ac1519c552461b90b07
tree678a287f7650d9c30b25afb2e9b92bb3bc225ccd
parent5e8a0d3598b47ee5a57708072bdef08816264538
drm/amdgpu: add and populate the port num into xgmi topology info

The port num info is firstly introduced with 20.00.01.13 xgmi ta and
make them as part of topology info.

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <le.ma@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