drm/amdkfd: Report XGMI IOLINKs for GFXIP9.4.3
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Thu, 5 Jan 2023 16:39:34 +0000 (11:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:51:58 +0000 (09:51 -0400)
commitb2ef2fdffed2a7fd5bf3f178a6a0427487dba5dd
tree0064a2b2f00ec51d228b2fb59690e665f27c266c
parent13a94f3f130ee4db6b4d2a0843104807a7299aa4
drm/amdkfd: Report XGMI IOLINKs for GFXIP9.4.3

GFXIP 9.4.3 could be in APU or carveout mode but we cannot use the
xgmi.connected_to_cpu flag to identify the iolinks type. Use appropriate
APU or Carveout mode based condition to report xgmi connection in kfd
topology.

Reviewed-by: Felix Kuehling <Felix.Kuehling@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
drivers/gpu/drm/amd/amdkfd/kfd_topology.c