Skip to content

Commit d539b0a

Browse files
Tao Zhoualexdeucher
authored andcommitted
drm/amdgpu: set XGMI IP version manually for v6_4
The version can't be queried from discovery table. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 853eebe commit d539b0a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,6 +2449,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
24492449
if (amdgpu_ip_version(adev, XGMI_HWIP, 0) == IP_VERSION(4, 8, 0))
24502450
adev->gmc.xgmi.supported = true;
24512451

2452+
if (amdgpu_ip_version(adev, GC_HWIP, 0) == IP_VERSION(9, 4, 3))
2453+
adev->ip_versions[XGMI_HWIP][0] = IP_VERSION(6, 4, 0);
2454+
24522455
/* set NBIO version */
24532456
switch (amdgpu_ip_version(adev, NBIO_HWIP, 0)) {
24542457
case IP_VERSION(6, 1, 0):

0 commit comments

Comments
 (0)