]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add the support of XGMI link for GC 9.4.3
authorShiwu Zhang <shiwu.zhang@amd.com>
Mon, 21 Feb 2022 07:38:39 +0000 (15:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:44:33 +0000 (09:44 -0400)
commit9eb7681f760c77adece36bc62953245c9f44a3be
treed0a7d13c14f1726ca338caa99a41ed00a7df93f1
parentcd8d77f328c53aad8915c9c4d64cf557742bb257
drm/amdgpu: add the support of XGMI link for GC 9.4.3

Add the xgmi LFB_CNTL/LBF_SIZE reg addresses to fetch the xgmi info from.

v2: move get_xgmi_info() to GC_V9_4_3 sepecific source files to utilize
the register definitions specific for GC_V9_4_3
v3: remove the duplicated register definitions
v4: enable xgmi based on asic_type as XGMI_IP ver is not available
yet for IP discovery

Signed-off-by: Shiwu Zhang <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Ack-by: Lijo Lazar <Lijo.Lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_2.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c